From ded9a13f248e21ab81c490d5c019d5b45aa585e9 Mon Sep 17 00:00:00 2001
From: Thomas Bellman <bellman@nsc.liu.se>
Date: Mon, 1 Dec 2014 12:20:02 +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 dsmcad 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 6be30b5..7073712 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -379,7 +379,7 @@ class tsmclient::install
 
     service {
 	'dsmcad':
-	    enable => true, ensure => $running,
+	    enable => true, ensure => running,
 	    hasstatus => true, hasrestart => true,
 	    require => File['/etc/init.d/dsmcad'];
     }
-- 
GitLab