Skip to content

Commit 4a1a6b5

Browse files
Fix facter package for Darwin
Using this module on macos result in this error. ``` Error: Could not set 'present' on ensure: No such file or directory - https://downloads.puppetlabs.com/mac/facter.2.4.5.dmg at 138:/puppet-files/modules/puppet/manifests/agent.pp ``` Indeed, `https://downloads.puppetlabs.com/mac/facter.2.4.5.dmg` is not correct. The correct url is `https://downloads.puppetlabs.com/mac/facter-2.4.5.dmg`.
1 parent 30da6f2 commit 4a1a6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
'Darwin': {
9393
$puppet_agent_service = 'com.puppetlabs.puppet'
9494
$puppet_agent_package = 'puppet-3.8.5.dmg'
95-
$puppet_facter_package = 'facter.2.4.5.dmg'
95+
$puppet_facter_package = 'facter-2.4.5.dmg'
9696
$package_provider = 'pkgdmg'
9797
$puppet_conf = '/etc/puppet/puppet.conf'
9898
$puppet_vardir = '/var/lib/puppet'

0 commit comments

Comments
 (0)