aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/base_packages/manifests/init.pp5
-rw-r--r--modules/cron_puppet/manifests/init.pp7
2 files changed, 7 insertions, 5 deletions
diff --git a/modules/base_packages/manifests/init.pp b/modules/base_packages/manifests/init.pp
index a49d211..a935d1b 100644
--- a/modules/base_packages/manifests/init.pp
+++ b/modules/base_packages/manifests/init.pp
@@ -20,10 +20,5 @@ class base_packages {
20 package { 'puppet': 20 package { 'puppet':
21 ensure => 'latest', 21 ensure => 'latest',
22 } 22 }
23
24 # Needed by puppet module
25 package { 'cronie':
26 ensure => 'latest',
27 }
28} 23}
29 24
diff --git a/modules/cron_puppet/manifests/init.pp b/modules/cron_puppet/manifests/init.pp
index a694a6f..b1d7e01 100644
--- a/modules/cron_puppet/manifests/init.pp
+++ b/modules/cron_puppet/manifests/init.pp
@@ -7,6 +7,9 @@ class cron_puppet {
7 owner => root, 7 owner => root,
8 group => root, 8 group => root,
9 } 9 }
10 package { 'cronie':
11 ensure => 'latest',
12 }
10 cron { 'puppet-apply': 13 cron { 'puppet-apply':
11 ensure => present, 14 ensure => present,
12 command => "cd /etc/puppetlabs/puppet ; /usr/bin/git pull", 15 command => "cd /etc/puppetlabs/puppet ; /usr/bin/git pull",
@@ -14,4 +17,8 @@ class cron_puppet {
14 minute => '*/30', 17 minute => '*/30',
15 require => File['post-hook'], 18 require => File['post-hook'],
16 } 19 }
20 service { 'cronie':
21 ensure => 'running',
22 enable => true
23 }
17} 24}