diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-26 15:53:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-26 15:53:57 -0300 |
commit | eb7c8f826ddbf7a19578ddc4c2b9205fdd519e31 (patch) | |
tree | f04cc8281de4aac1bf286b655a92c0d8df57eae4 /manifests | |
parent | c844730bdea106d9bda490e71d457dbbf55e129f (diff) | |
download | puppet-puppet-eb7c8f826ddbf7a19578ddc4c2b9205fdd519e31.tar.gz puppet-puppet-eb7c8f826ddbf7a19578ddc4c2b9205fdd519e31.tar.bz2 |
Managin /etc/default/puppet
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetd.pp | 10 |
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 |