/[adm]/puppet/modules/puppet/manifests/client.pp
ViewVC logotype

Contents of /puppet/modules/puppet/manifests/client.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2366 - (show annotations) (download)
Thu Feb 9 09:10:49 2012 UTC (12 years, 2 months ago) by misc
File size: 529 byte(s)
split puppet::clinet in a separate file
1 class puppet::client {
2 package { puppet: }
3
4 file { "/etc/puppet/puppet.conf":
5 content => template("puppet/puppet.conf"),
6 require => Package[puppet]
7 }
8
9 cron { "puppet":
10 command => "/usr/sbin/puppetd --onetime --no-daemonize --logdest syslog > /dev/null 2>&1",
11 user => "root",
12 minute => fqdn_rand( 60 ),
13 ensure => present,
14 }
15
16 # we are using cron, so no need for the service
17 service { puppet:
18 enable => false,
19 hasstatus => true,
20 }
21 }
22
23

  ViewVC Help
Powered by ViewVC 1.1.30