Compare commits
No commits in common. "d78d8c22b1a214adfe3f867c06e12604fb7c2f92" and "65fc0590b4a5a93b10a7dfe982ff03584b6312f7" have entirely different histories.
d78d8c22b1
...
65fc0590b4
|
@ -9,7 +9,6 @@ class cdn::mqtt(
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
include sunet::packages::certbot
|
include sunet::packages::certbot
|
||||||
include cdn::ca_trust
|
|
||||||
|
|
||||||
package {'mosquitto': ensure => installed }
|
package {'mosquitto': ensure => installed }
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
listener 8883
|
listener 8883
|
||||||
cafile /etc/mosquitto/ca_certificates/chain.pem
|
cafile /etc/mosquitto/ca_certificates/ca.crt
|
||||||
certfile /etc/mosquitto/certs/cert.pem
|
certfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.crt
|
||||||
keyfile /etc/mosquitto/certs/privkey.pem
|
keyfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.key
|
||||||
require_certificate true
|
require_certificate true
|
||||||
use_identity_as_username true
|
use_identity_as_username true
|
||||||
acl_file /etc/mosquitto/aclfile
|
acl_file /etc/mosquitto/aclfile
|
||||||
|
@ -12,8 +12,8 @@ log_type all
|
||||||
connection <%= @dc %>-to-<%= remote_dc %>
|
connection <%= @dc %>-to-<%= remote_dc %>
|
||||||
address <%= bridge_config['address'] %>:address <%= bridge_config['port'] %>:
|
address <%= bridge_config['address'] %>:address <%= bridge_config['port'] %>:
|
||||||
topic cdn/<%= @dc %>/purge out 1
|
topic cdn/<%= @dc %>/purge out 1
|
||||||
bridge_cafile /usr/local/share/ca-certificates/step_ca_root.crt
|
bridge_cafile /etc/mosquitto/ca_certificates/ca.crt
|
||||||
bridge_certfile /etc/mosquitto/certs/cert.pem
|
bridge_certfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.crt
|
||||||
bridge_keyfile /etc/mosquitto/certs/privkey.pem
|
bridge_keyfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.key
|
||||||
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
Loading…
Reference in a new issue