From 6f2ff7db9edc78bc316da7412b83012419dc5a9f Mon Sep 17 00:00:00 2001 From: Thomas Bellman <bellman@nsc.liu.se> Date: Mon, 1 Dec 2014 12:19:01 +0100 Subject: [PATCH] Fix typo in 'service ... ensure => running'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By mistake we had used 'ensure => $running' for the httpd service. This happened to work on our pilot system, where we set the global variable $running, but it should not be like that. Thanks to Kent Engström for making us look for the error. --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 83e8d67..aeb1197 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -93,7 +93,7 @@ class apache::service { service { 'httpd': - enable => true, ensure => $running, + enable => true, ensure => running, hasstatus => true, hasrestart => true; } } -- GitLab