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

Working version

parent bf21290f
puppet module install puppetlabs-ruby
puppet module install jgoettsch/mercurial
puppet module install puppetlabs/apache
puppet module install puppetlabs/postgresql
puppet module install puppetlabs/rsync
puppet module install maestrodev/wget
git clone https://github.com/glarizza/puppet-pick.git pick
git clone https://github.com/camptocamp/puppet-archive.git archive
puppet module install glarizza-pick
puppet module install camptocamp-archive
puppet module install puppetlabs-java
puppet module install stahnma-epel
puppet module install puppetlabs-tomcat
user { 'tomcat':
ensure => 'present',
system => true,
}
user { 'xnat':
ensure => 'present',
managerhome => true,
system => true,
}
......@@ -161,6 +161,7 @@ define xnat::xnatapp (
} ->
# Initialize database for XNAT
# TODO replace DB + user creation by postgreql::server::db
fill_database{ "setup postgres database" :
system_user => $system_user,
instance_name => $instance_name,
......@@ -203,7 +204,7 @@ define xnat::xnatapp (
# cwd => "$tomcat_root/logs"
#} ->
# FIXME not working
# FIXME not working -> replace with Nginx
init_apache { "initialize apache proxy":
apache_port => $apache_port,
apache_mail_address => $apache_mail_address
......
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