Skip to content

Commit

Permalink
convert user.sh to epp
Browse files Browse the repository at this point in the history
  • Loading branch information
oranenj committed Apr 14, 2021
1 parent 093f427 commit 1841a51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}

Expand Down
2 changes: 1 addition & 1 deletion templates/user.sh.erb → templates/user.sh.epp
Original file line number Diff line number Diff line change
@@ -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 !

Expand Down

0 comments on commit 1841a51

Please sign in to comment.