diff options
Diffstat (limited to 'manifests/classes/puppetmasterd.pp')
-rw-r--r-- | manifests/classes/puppetmasterd.pp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/manifests/classes/puppetmasterd.pp b/manifests/classes/puppetmasterd.pp deleted file mode 100644 index 5aaebb7..0000000 --- a/manifests/classes/puppetmasterd.pp +++ /dev/null @@ -1,21 +0,0 @@ -class puppetmasterd { - - package { "puppetmaster": ensure => installed, } - - # updates the puppet configuration dir with git repositories - # every 5 minutes. - cron { puppet-conf: - command => "git --git-dir=/etc/puppet/.git/ pull /var/git/repositories/puppet.git master && \ - git --git-dir=/etc/puppet/.git/ --work-tree=/etc/puppet/ checkout -f", - user => root, - hour => '*', - minute => '*/5', - ensure => present, - } - - # runs the service - service { "puppetmasterd": - ensure => stopped, - depends => Package["puppetmaster"], - } -} |