From bb7e969831c9257f1c79c6708a9bb9657d65e673 Mon Sep 17 00:00:00 2001 From: Ciaby Date: Tue, 15 Jul 2014 15:39:57 -0500 Subject: [PATCH] Forgot to add the default file for LCR --- modules/rhizomatica_base_system/files/etc/default/lcr | 6 ++++++ modules/rhizomatica_base_system/manifests/init.pp | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 modules/rhizomatica_base_system/files/etc/default/lcr diff --git a/modules/rhizomatica_base_system/files/etc/default/lcr b/modules/rhizomatica_base_system/files/etc/default/lcr new file mode 100644 index 0000000..d3e3eb1 --- /dev/null +++ b/modules/rhizomatica_base_system/files/etc/default/lcr @@ -0,0 +1,6 @@ +# This file allows you to alter the configuration of the lcr +# init.d script. Normally you should leave the file as-is. +# +# RUNLCR: If set to anything other that 'yes', the lcr init.d script +# will not run. The default is 'yes'. +RUNLCR=yes diff --git a/modules/rhizomatica_base_system/manifests/init.pp b/modules/rhizomatica_base_system/manifests/init.pp index b95521d..13b3daf 100644 --- a/modules/rhizomatica_base_system/manifests/init.pp +++ b/modules/rhizomatica_base_system/manifests/init.pp @@ -276,6 +276,12 @@ class rhizomatica_base_system { require => Package['lcr'], } + file { '/etc/default/lcr': + ensure => present, + source => 'puppet:///modules/rhizomatica_base_system/etc/default/lcr', + require => Package['lcr'], + } + file { '/etc/cron.d/rhizomatica': source => 'puppet:///modules/rhizomatica_base_system/etc/cron.d/rhizomatica', }