forked from SUNET/soc-ops
Bugfixes for fody.
This commit is contained in:
parent
25cdd784a7
commit
584afac619
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class soc::intelmq(
|
|||
|
||||
exec { 'Setup fody-api user':
|
||||
command => "sudo -u intelmq /opt/intelmq/venv/bin/fody-adduser --user ${api_user} --password ${api_pass}",
|
||||
unless => "sqlite3 /etc/intelmq/fody/fody-session.sqlite 'SELECT username FROM user WHERE username =${api_user}' | grep -q ${api_user}",
|
||||
unless => "sqlite3 /etc/intelmq/fody/fody-session.sqlite \"SELECT username FROM user WHERE username ='${api_user}'\" | grep -q ${api_user}",
|
||||
}
|
||||
|
||||
file {
|
||||
|
|
Loading…
Add table
Reference in a new issue