init: Create /var/run/freeswitch with correct ownership
This commit is contained in:
parent
23b2ba47f4
commit
d1b046a32e
1 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,6 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
|
|||
require => Class['rhizo_base::apt'],
|
||||
}
|
||||
|
||||
|
||||
file { '/usr/lib/freeswitch/mod/mod_cdr_pg_csv.so':
|
||||
source => 'puppet:///modules/rhizo_base/usr/lib/freeswitch/mod/mod_cdr_pg_csv.so',
|
||||
require => Package['freeswitch'],
|
||||
|
@ -56,6 +55,12 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
|
|||
require => Package['freeswitch'],
|
||||
}
|
||||
|
||||
file { '/var/run/freeswitch':
|
||||
ensure => directory,
|
||||
owner => 'freeswitch',
|
||||
group => 'freeswitch',
|
||||
}
|
||||
|
||||
systemd::unit_file { 'freeswitch.service':
|
||||
source => "puppet:///modules/rhizo_base/freeswitch.service",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue