This commit is contained in:
Johan Björklund 2024-11-14 15:58:56 +01:00
parent b389bf5636
commit 03d9094c00
Signed by untrusted user: bjorklund
GPG key ID: 5E8401339C7F5037

View file

@ -111,7 +111,7 @@ class soc::intelmq(
$api_user = lookup('intelmq_api_user.username', undef, undef, 'test')
$api_pass = lookup('intelmq_api_user.password', undef, undef, 'pass')
exec { 'Setup intelmq-api user':
command => 'sudo -u intelmq /opt/intelmq/venv/bin/intelmq-api-adduser --user ${api_user} --password ${api_password}'
command => 'sudo -u intelmq /opt/intelmq/venv/bin/intelmq-api-adduser --user ${api_user} --password ${api_password}',
creates => '/etc/intelmq/api-session.sqlite',
}