summaryrefslogtreecommitdiff
path: root/manifests/daemon/disabled.pp
blob: 49354aad88c6452e96645ff86a58859ab4a9cb9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class puppet::daemon::disabled {
  service { "puppet":
    enable  => false,
    ensure  => stopped,
    require => Package["puppet"].
  }

  file { [ "/etc/cron.d/puppetd", "/usr/local/sbin/check-puppetd.sh" ]:
    ensure => absent,
  }

  cron { [ "puppetd-check", "puppet-restart" ]:
    ensure   => absent,
  }
}