Closed
Bug 1053437
Opened 11 years ago
Closed 11 years ago
Puppet agent fails on OS X nodes due to facter-2.0.2.dmg not found
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: whimboo, Assigned: whimboo)
Details
Dustin, could it be that some files have not been correctly synced? When I run puppet agent I get the following errors:
Error: Could not set 'present' on ensure: No such file or directory - http://puppetmaster1.qa.scl3.mozilla.com/repos/DMGs/facter-2.0.2.dmg at 38:/etc/puppet/production/modules/packages/manifests/pkgdmg.pp
Error: Could not set 'present' on ensure: No such file or directory - http://puppetmaster1.qa.scl3.mozilla.com/repos/DMGs/facter-2.0.2.dmg at 38:/etc/puppet/production/modules/packages/manifests/pkgdmg.pp
Wrapped exception:
No such file or directory - http://puppetmaster1.qa.scl3.mozilla.com/repos/DMGs/facter-2.0.2.dmg
Error: /Stage[main]/Packages::Puppet/Packages::Pkgdmg[facter]/Package[facter-2.0.2.dmg]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory - http://puppetmaster1.qa.scl3.mozilla.com/repos/DMGs/facter-2.0.2.dmg at 38:/etc/puppet/production/modules/packages/manifests/pkgdmg.pp
Comment 1•11 years ago
|
||
That file exists on your puppetmaster. Try running with --debug?
Assignee: relops → hskupin
Assignee | ||
Comment 2•11 years ago
|
||
Sorry, totally my own fault. I missed to source proxy_reset_env.sh first. So that's why the file could not be found. Maybe a better message could be shown by puppet in case an URL cannot be retrieved, and it runs into a timeout.
So all fine here.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Whiteboard: [qa-automation-blocked]
Comment 3•11 years ago
|
||
The pkgdmg provider is at
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pkgdmg.rb
surprisingly, it *shells out* to curl to execute the transfer -- I guess Ruby's HTTP library isn't up to the task? Anyway, I'm sure PL wouldn't mind a patch if you see a good fix.
Assignee | ||
Comment 4•11 years ago
|
||
I field a Jira issue, so someone can have a look at. You can find it here:
https://tickets.puppetlabs.com/browse/PUP-3145
Dustin, do I have to choose a component? Can you have a look at? Thanks.
You need to log in
before you can comment on or make changes to this bug.
Description
•