summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-06-26 15:53:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-06-26 15:53:57 -0300
commiteb7c8f826ddbf7a19578ddc4c2b9205fdd519e31 (patch)
treef04cc8281de4aac1bf286b655a92c0d8df57eae4 /manifests
parentc844730bdea106d9bda490e71d457dbbf55e129f (diff)
downloadpuppet-puppet-eb7c8f826ddbf7a19578ddc4c2b9205fdd519e31.tar.gz
puppet-puppet-eb7c8f826ddbf7a19578ddc4c2b9205fdd519e31.tar.bz2
Managin /etc/default/puppet
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetd.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp
index 5950433..63ef34e 100644
--- a/manifests/puppetd.pp
+++ b/manifests/puppetd.pp
@@ -14,11 +14,19 @@ class puppetd inherits puppet {
require => Package["cron"],
}
+ file { "/etc/default/puppet":
+ source => "puppet://$server/modules/puppet/puppet",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ }
+
service { "puppet":
enable => true,
ensure => running,
hasrestart => true,
- require => Package["puppet"],
+ require => [ Package["puppet"], File["/etc/default/puppet"] ],
}
# default config file for puppet nodes