Puppet Class: resources_cd::main::service
+
+
+
+
+ -
+
- Inherits: +
- resources_cd::params +
-
+
- Defined in: +
- + manifests/main/service.pp + +
Summary
+ Class manages service settings in resources_cd + +Overview
+
+
+
+
+
+
+
+resources_cd::main::service.pp Module name: resources_cd Author: Arne Teuke +(arne_teuke@confdroid.com)
+ +
+
+
+
+
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23+ |
+
+ # File 'manifests/main/service.pp', line 6
+
+class resources_cd::main::service (
+
+) inherits resources_cd::params {
+ if $rs_autoupdate == true {
+ service { $rs_cron_service:
+ ensure => running,
+ hasstatus => true,
+ hasrestart => true,
+ enable => true,
+ }
+ }
+ if $rs_autoupdate == false {
+ service { $rs_cron_service:
+ ensure => stopped,
+ enable => false,
+ }
+ }
+}
+ |
+