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

This commit is contained in:
Alex Vandiver 2024-03-22 17:55:09 -04:00 committed by Tim Abbott
parent 13e28fc3ac
commit eaef12ce3a
1 changed files with 4 additions and 1 deletions

View File

@ -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',