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:
parent
c2c1e94584
commit
ac7f99ee90
1 changed files with 1 additions and 0 deletions
|
@ -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':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue