rhizo_base: Ensure runit installed before using runit

Make sure that runit is installed and configured before attempting to
restart services using /usr/bin/sv (aka runit).
This commit is contained in:
Matt Johnson 2019-07-14 23:27:20 -05:00 committed by Keith Whyte
parent 633c08fcf5
commit 439489b42b
2 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,7 @@ class rhizo_base::lcr {
exec { 'restart-lcr':
command => '/usr/bin/sv restart lcr',
require => Class['rhizo_base::runit'],
refreshonly => true,
}