Skip to content

Commit

Permalink
Explicitly manage /var/run/chrony
Browse files Browse the repository at this point in the history
We are experiencing CI failures on CentOS because the service cannot
start because it cannot create it's PID file.

Running the very same test locally works as expected, so the root cause
of the different behavior on the CI is unfortunately unknown.  Yet,
ensuring the directory for the PID file exist seems to fix the CI issue.
  • Loading branch information
smortex committed Jul 1, 2021
1 parent adbbd7f commit 02f543e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@
mode => $config_keys_mode,
content => Sensitive(epp($config_keys_template)),
}

file { '/var/run/chrony':
ensure => directory,
}
}

0 comments on commit 02f543e

Please sign in to comment.