voxpupuli / puppet-staging

⛔️ Deprecated in favor of puppet-archive
https://forge.puppet.com/puppet/archive
Apache License 2.0
51 stars 109 forks source link

module fails to find wget #28

Closed vchepkov closed 10 years ago

vchepkov commented 10 years ago

Hi,

The way I understand the code a custom fact staging_http_get should return a binary that needs to be used to download the file. But this search is based on PATH environment variable without considering $staging::exec_path and therefore can't find wget, which is in /usr/sfw/bin on Solaris.

nanliu commented 10 years ago

In this case the puppet runtime environment should have the appropriate path. This can either be a wrapper around the puppet agent, or configured in puppet.conf:

http://docs.puppetlabs.com/references/latest/configuration.html#path