Skip to content

Commit 27fa699

Browse files
committed
Minor install.pp cleanup.
$installdir can be owned by root Fixes #255
1 parent 0b202d8 commit 27fa699

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

manifests/install.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
if ! defined(File[$jira::installdir]) {
4444
file { $jira::installdir:
4545
ensure => 'directory',
46-
owner => $jira::user,
47-
group => $jira::group,
46+
owner => 'root',
47+
group => 'root',
4848
}
4949
}
5050

@@ -88,7 +88,7 @@
8888
}
8989

9090
-> exec { "chown_${jira::webappdir}":
91-
command => "/bin/chown -R ${jira::user}:${jira::group} ${jira::webappdir}",
91+
command => shellquote('/bin/chown', '-R', "${jira::user}:${jira::group}", $jira::webappdir),
9292
refreshonly => true,
9393
subscribe => User[$jira::user],
9494
}

0 commit comments

Comments
 (0)