Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 6.4.0, PUP 6.10.1
-
None
-
ciscopuppet module, facter 3.13.2 (commit a34181878), windows 2016 x64 (gnocchi.platform9.puppet.net)
-
Night's Watch
-
5
-
NW - 2019-10-30, NW - 2019-11-13, 2019-11-27
-
Needs Assessment
-
Bug Fix
-
-
Needs Assessment
Description
When running facter -p on windows with the puppetlabs/ciscopuppet module pluginsynced to the agent, facter is loading facter/cisco.rb from C:/ProgramData/PuppetLabs/puppet/cache/lib before setting up the $LOAD_PATH to load that file's dependencies from there. Please see the attached screenshot for the debug modifications I did and the results on the machine showing the issue.
To make sure there is nothing wonky with the facter/cisco_nexus file itself, a require within a setcode worked fine.
Regular agent runs work fine and do not show any errors.
Desired Behaviour
facter -p loads files from puppet's cache only once, after $LOAD_PATH has been properly initialised.
Attachments
Issue Links
- mentioned in
-
Page Loading...