9
0
Fork 1
This commit is contained in:
Johan Björklund 2024-11-14 16:16:16 +01:00
parent 32e5448266
commit 4ce1ec3c36
Signed by: 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_pass}",
creates => '/etc/intelmq/api-session.sqlite',
}