Commit e4b28f2c authored by Matthieu FAURE's avatar Matthieu FAURE

fix: add dependencies between resources

parent f3e66d6d
Pipeline #4849 failed with stages
in 3 minutes and 8 seconds
......@@ -116,6 +116,8 @@ class amies (
path => '/etc/systemd/system/amies.service',
mode => '0644',
content => epp('amies/amies.service.epp'),
require => Archive['download-amies-jar'],
}
# Get AMIES jar file
......@@ -132,6 +134,10 @@ class amies (
ensure => 'running',
name => 'amies',
enable => true,
require => Package[$amies::package_list],
require => [
Package[$amies::package_list],
File['AMIES systemd unit'],
Postgresql::Server::Database_grant[$db_name],
]
}
}
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