Commit e9575a62 authored by Fabien Combernous's avatar Fabien Combernous

fix package_list and epp template call

parent f06aead6
Pipeline #4835 failed with stages
in 2 minutes and 48 seconds
......@@ -33,6 +33,7 @@ class amies (
String $amies_db_user_name = 'amies',
# Activate debug / dev mode
Boolean $debug = false,
Array $package_list = [],
) {
# #############################################################################
......@@ -104,7 +105,7 @@ class amies (
}
# Create DB needed for running tests
if $amies::amies_debug {
if $amies::debug {
postgresql::server::db { $amies_db_for_tests_name:
user => $amies_db_user_name,
password => postgresql_password($amies_db_user_name, $amies_db_user_password),
......@@ -147,13 +148,13 @@ ${amies_db_host}:${amies_db_port}:${amies_db_name}:${amies_db_user_name}:${amies
ensure => file,
path => '/etc/default/systemd',
mode => '0644',
content => epp('amies.service.epp'),
content => epp('amies/amies.service.epp'),
}
# Get AMIES jar file
archive { 'download-amies-jar':
ensure => 'present',
path => "${amies::amies_app_dir}/${amies::amies_jar_name}",
path => "${amies::amies_app_dir}/${amies::_amies_jar_name}",
source => $_amies_jar_url,
require => Accounts::User[$amies_system_username],
}
......
Markdown is supported
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