-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
31 lines (28 loc) · 929 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
desc "Update Choria modules"
task :update do
modules = [
"choria/choria",
"choria/mcollective_data_sysctl",
"choria/mcollective_agent_shell",
"choria/mcollective_agent_process",
"choria/mcollective_agent_nettest",
"choria/mcollective_agent_bolt_tasks",
"choria/mcollective_data_sysctl",
"puppetlabs/apply",
"puppetlabs/package",
"herculesteam/augeasproviders_core",
"camptocamp/augeas",
"puppetlabs/puppetdb",
"camptocamp/systemd",
"puppet/archive",
"puppet/prometheus",
"theforeman/puppet",
"puppetlabs/puppet_authorization",
]
rm_rf "environments/production/modules"
mkdir_p "environments/production/modules"
sh "puppet module install --modulepath `pwd`/environments/production/modules puppetlabs/concat --version 7.3.3"
modules.each do |mod|
sh "puppet module install --modulepath `pwd`/environments/production/modules %s" % mod
end
end