diff options
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_ca_daemon/manifests/init.pp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/puppet/modules/site_ca_daemon/manifests/init.pp b/puppet/modules/site_ca_daemon/manifests/init.pp index 29a70df8..4ec5b00b 100644 --- a/puppet/modules/site_ca_daemon/manifests/init.pp +++ b/puppet/modules/site_ca_daemon/manifests/init.pp @@ -87,6 +87,16 @@ class site_ca_daemon { file { '/usr/local/bin/leap_ca_daemon': ensure => link, - target => '/srv/leap_ca_daemon/bin/leap_ca', + target => '/srv/leap_ca_daemon/bin/leap_ca_daemon', } + + file { '/etc/cron.hourly/leap_ca': + ensure => present, + content => "#/bin/sh\n/srv/leap_ca_daemon/bin/leap_ca_daemon --run-once > /dev/null", + owner => 'root', + group => 0, + mode => '0755', + } + + } |