forked from SUNET/soc-ops
Fixes for intelmq-api.
This commit is contained in:
parent
4e1604217d
commit
38a6014df3
1 changed files with 17 additions and 0 deletions
|
@ -142,6 +142,23 @@ class soc::intelmq(
|
|||
notify => [Class['sunet::systemd_reload'], Service['intelmq-api.socket'],],
|
||||
}
|
||||
|
||||
file { '/opt/intelmq/etc/runtime.yaml':
|
||||
ensure => 'present',
|
||||
replace => 'no',
|
||||
owner => 'intelmq',
|
||||
group => 'www-data',
|
||||
mode => '0660',
|
||||
}
|
||||
|
||||
file { '/opt/intelmq/etc/runtime.yaml.bak':
|
||||
ensure => 'present',
|
||||
replace => 'no',
|
||||
owner => 'www-data',
|
||||
group => 'www-data',
|
||||
mode => '0660',
|
||||
content => '',
|
||||
}
|
||||
|
||||
service { 'intelmq-api.service':
|
||||
ensure => running,
|
||||
name => 'intelmq-api.service',
|
||||
|
|
Loading…
Add table
Reference in a new issue