rhizo_base/freeswitch: Require package before freeswitch user

The freeswitch user and group are added during the freeswitch package
install. Make sure they package has been installed before trying to
create and assign directories to the user and group!
This commit is contained in:
Matt Johnson 2019-07-14 23:24:13 -05:00 committed by Keith Whyte
parent c2c1e94584
commit ac7f99ee90

View file

@ -64,6 +64,7 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
ensure => directory, ensure => directory,
owner => 'freeswitch', owner => 'freeswitch',
group => 'freeswitch', group => 'freeswitch',
require => Package['freeswitch'],
} }
systemd::unit_file { 'freeswitch.service': systemd::unit_file { 'freeswitch.service':