Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

kandra: Ensure that the nagios known_hosts exist before running autossh.

Alex Vandivereaef12ce3af6
diff --git a/puppet/kandra/manifests/profile/nagios.pp b/puppet/kandra/manifests/profile/nagios.pp
index 78277a3036a..8d662ac217b 100644
--- a/puppet/kandra/manifests/profile/nagios.pp
+++ b/puppet/kandra/manifests/profile/nagios.pp
@@ -118,7 +118,10 @@ class kandra::profile::nagios inherits kandra::profile::base {
file { "${zulip::common::supervisor_conf_dir}/autossh_tunnels.conf":
ensure => file,
- require => Package['supervisor', 'autossh'],
+ require => [
+ Package['supervisor', 'autossh'],
+ Kandra::User_Dotfiles['nagios'],
+ ],
mode => '0644',
owner => 'root',
group => 'root',