forked from SUNET/soc-ops
Bugfix.
This commit is contained in:
parent
b3856a7039
commit
8e1bd9b783
2 changed files with 5 additions and 5 deletions
|
@ -104,7 +104,7 @@ class soc::intelmq(
|
||||||
owner => 'intelmq',
|
owner => 'intelmq',
|
||||||
group => 'intelmq',
|
group => 'intelmq',
|
||||||
mode => '0444',
|
mode => '0444',
|
||||||
content => 'soc/intelmq/api-config.json',
|
content => file('soc/intelmq/api-config.json)',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/intelmq/api-session.sqlite':
|
file { '/etc/intelmq/api-session.sqlite':
|
||||||
|
@ -117,13 +117,13 @@ class soc::intelmq(
|
||||||
|
|
||||||
file { '/etc/systemd/system/intelmq-api.service':
|
file { '/etc/systemd/system/intelmq-api.service':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => 'soc/intelmq/intelmq-api.service',
|
content => file('soc/intelmq/intelmq-api.service'),
|
||||||
notify => [Class['sunet::systemd_reload'], Service['intelmq-api.service'],],
|
notify => [Class['sunet::systemd_reload'], Service['intelmq-api.service'],],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/systemd/system/intelmq-api.socket':
|
file { '/etc/systemd/system/intelmq-api.socket':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => 'soc/intelmq/intelmq-api.socket',
|
content => file('soc/intelmq/intelmq-api.socket'),
|
||||||
notify => [Class['sunet::systemd_reload'], Service['intelmq-api.socket'],],
|
notify => [Class['sunet::systemd_reload'], Service['intelmq-api.socket'],],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
<% if @use_snakeoil -%>
|
<% if @use_snakeoil -%>
|
||||||
SSLCertificateFile /etc/letsencrypt/live/intelmq-test.cert.sunet.se/cert.pem
|
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/intelmq-test.cert.sunet.se/privkey.pem
|
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
|
||||||
<% else -%>
|
<% else -%>
|
||||||
SSLCertificateFile <%= @tls_cert %>
|
SSLCertificateFile <%= @tls_cert %>
|
||||||
SSLCertificateKeyFile <%= @tls_key %>
|
SSLCertificateKeyFile <%= @tls_key %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue