diff --git a/manifests/config.pp b/manifests/config.pp index 3400643e..cfae1b05 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -120,7 +120,7 @@ # Configuration logic ends, resources begin: file { "${jira::webappdir}/bin/user.sh": - content => template('jira/user.sh.erb'), + content => epp('jira/user.sh.epp'), mode => '0755', } diff --git a/templates/user.sh.erb b/templates/user.sh.epp similarity index 68% rename from templates/user.sh.erb rename to templates/user.sh.epp index 400d1c7f..9b180f03 100755 --- a/templates/user.sh.erb +++ b/templates/user.sh.epp @@ -1,5 +1,5 @@ # START INSTALLER MAGIC ! DO NOT EDIT ! -JIRA_USER="<%= @user %>" # user created by puppet +JIRA_USER="<%= $jira::user %>" # user created by puppet SHELL="/bin/bash" # # END INSTALLER MAGIC ! DO NOT EDIT !