1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-11-14 09:00:35 +00:00
puppet-rsnapshot/manifests/service.pp

14 lines
223 B
ObjectPascal
Raw Normal View History

# == Class: rsnapshot::service
#
2017-04-06 07:20:32 +00:00
# Reloads cron
class rsnapshot::service (
$manage_cron = $rsnapshot::manage_cron
) {
2017-04-06 07:20:32 +00:00
if $manage_cron {
service { $rsnapshot::cron_service_name:
ensure => running,
}
}
}