We don't need the File resource for /var/rhizomatica at all

This commit is contained in:
Keith Whyte 2020-09-11 22:25:02 +02:00
parent b7528bbc26
commit 2ac7e16908

View file

@ -332,10 +332,6 @@ schedule { 'never':
} }
} }
file { '/var/rhizomatica':
ensure => directory,
}
file { '/var/rhizo_backups': file { '/var/rhizo_backups':
ensure => directory, ensure => directory,
} }
@ -371,7 +367,7 @@ schedule { 'never':
provider => git, provider => git,
source => 'git@dev.rhizomatica.org:rhizomatica/rccn.git', source => 'git@dev.rhizomatica.org:rhizomatica/rccn.git',
revision => 'master', revision => 'master',
require => [ File['/var/rhizomatica'], Package['git'] ], require => [ Package['git'] ],
notify => [ Exec['locale-gen'], notify => [ Exec['locale-gen'],
Exec['notify-freeswitch'], Exec['notify-freeswitch'],
Exec['restart-rapi'], Exec['restart-rapi'],