From 3197184609190219eb96d1b53a9d1c7451bcca28 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 8 May 2018 19:24:14 -0700 Subject: [PATCH] Fix $manage_index if statement Without this patch, with puppet 3, if the $manage_index variable is set, it is ignored, since the conditional compares the string 'manage_index' to the value 'true'. With puppet 4, this would cause a syntax error. Change-Id: If9dc13515059a2c148ddde3108b256feb3bc1298 --- manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index 6315169..c5a6225 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -31,7 +31,7 @@ define meetbot::site( ensure => directory, } - if manage_index == true { + if $manage_index == true { file { "${meetbot}/index.html": ensure => present, content => template('meetbot/index.html.erb'),