Bugfixes for fody.
This commit is contained in:
parent
de1538837d
commit
fe9a738416
2 changed files with 58 additions and 4 deletions
|
@ -26,10 +26,32 @@ class soc::intelmq(
|
||||||
shell => '/bin/bash',
|
shell => '/bin/bash',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/intelmq':
|
file {
|
||||||
ensure => directory,
|
'/etc/intelmq':
|
||||||
owner => 'intelmq',
|
ensure => directory,
|
||||||
group => 'intelmq',
|
owner => 'intelmq',
|
||||||
|
group => 'intelmq',
|
||||||
|
;
|
||||||
|
'/etc/intelmq/mailgen':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'intelmq',
|
||||||
|
group => 'intelmq',
|
||||||
|
;
|
||||||
|
'/etc/intelmq/mailgen/formats':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'intelmq',
|
||||||
|
group => 'intelmq',
|
||||||
|
;
|
||||||
|
'/etc/intelmq/mailgen/gnupghome':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'intelmq',
|
||||||
|
group => 'intelmq',
|
||||||
|
;
|
||||||
|
'/etc/intelmq/mailgen/templates':
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'intelmq',
|
||||||
|
group => 'intelmq',
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/intelmq/api':
|
file { '/etc/intelmq/api':
|
||||||
|
@ -246,6 +268,14 @@ class soc::intelmq(
|
||||||
mode => '0440',
|
mode => '0440',
|
||||||
content => template('soc/intelmq/tickets-serve.conf.erb'),
|
content => template('soc/intelmq/tickets-serve.conf.erb'),
|
||||||
;
|
;
|
||||||
|
'/etc/intelmq/intelmq-mailgen.conf':
|
||||||
|
ensure => file,
|
||||||
|
owner => 'intelmq',
|
||||||
|
group => 'www-data',
|
||||||
|
mode => '0440',
|
||||||
|
content => template('soc/intelmq/intelmq-mailgen.conf.erb'),
|
||||||
|
;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/systemd/system/intelmq-api.service':
|
file { '/etc/systemd/system/intelmq-api.service':
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"openpgp": {
|
||||||
|
"gnupg_home" : "/etc/intelmq/mailgen/gnupghome",
|
||||||
|
"always_sign" : false,
|
||||||
|
"signing_key" : "5F503EFAC8C89323D54C252591B8CD7E15925678"
|
||||||
|
},
|
||||||
|
"database": {
|
||||||
|
"event": {
|
||||||
|
"name": "eventdb",
|
||||||
|
"username": "<%= @db_user %>",
|
||||||
|
"password": "<%= @db_pass %>",
|
||||||
|
"host": "localhost",
|
||||||
|
"port": 5432
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"template_dir": "/etc/intelmq/mailgen/templates",
|
||||||
|
"script_directory": "/etc/intelmq/mailgen/formats",
|
||||||
|
"sender": "cert@cert.sunet.se",
|
||||||
|
"smtp": {
|
||||||
|
"host": "localhost",
|
||||||
|
"port": 25
|
||||||
|
},
|
||||||
|
"logging_level": "INFO"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue