Commit cce9fb8f authored by Jonathan Passerat-Palmbach's avatar Jonathan Passerat-Palmbach
Browse files

Refactor xnat home mode setting

parent b1d6a5fb
......@@ -41,15 +41,16 @@ define xnat::xnatapp (
require java
require postgresql::server
$xnat_homedir = '/home/xnat'
user { 'xnat':
ensure => 'present',
managehome => true,
system => true,
home => '/home/xnat',
home => $xnat_homedir,
} ->
file { $xnat_homedir:
mode => 755
}
# file { "/home/xnat":
# mode => 755
# } ->
# $tomcat_root = "/usr/share/tomcat7"
$installer_dir = "/home/$system_user/xnat"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment