File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 8
8
# ['puppet_agent_service'] - The service the puppet agent runs under
9
9
# ['puppet_agent_package'] - The name of the package providing the puppet agent
10
10
# ['version'] - The version of the puppet agent to install
11
+ # ['mac_version'] - The package version for Mac OS X
12
+ # ['mac_facter_version'] - The Factor Version for Mac OS X
11
13
# ['puppet_run_style'] - The run style of the agent either 'service', 'cron', 'external' or 'manual'
12
14
# ['puppet_run_interval'] - The run interval of the puppet agent in minutes, default is 30 minutes
13
15
# ['puppet_run_command'] - The command that will be executed for puppet agent run
119
121
}
120
122
case $::osfamily {
121
123
' Darwin' : {
122
- package {$puppet_facter_package :
124
+ package {"${mac_facter_version}.dmg" :
123
125
ensure => present ,
124
126
provider => $package_provider ,
125
127
source => " https://downloads.puppetlabs.com/mac/facter-${mac_facter_version} .dmg" ,
126
128
}
127
- package { $puppet_agent_package :
129
+ package { "${mac_version}.dmg" :
128
130
ensure => present ,
129
131
provider => $package_provider ,
130
132
source => " https://downloads.puppetlabs.com/mac/puppet-${mac_version} .dmg'"
135
137
ensure => $version ,
136
138
provider => $package_provider ,
137
139
}
138
- }
140
+ }
139
141
}
140
142
if $puppet_run_style == ' service' {
141
143
$startonboot = ' yes'
You can’t perform that action at this time.
0 commit comments