joerc is slightly different in versions 4.4/4.6
This commit is contained in:
parent
7d452b0f0c
commit
c506d47b76
3 changed files with 1323 additions and 5 deletions
1308
modules/rhizo_base/files/joerc.4.6
Normal file
1308
modules/rhizo_base/files/joerc.4.6
Normal file
File diff suppressed because it is too large
Load diff
|
@ -278,11 +278,21 @@ schedule { 'repo':
|
||||||
content => template('rhizo_base/rccn-functions.sh.erb'),
|
content => template('rhizo_base/rccn-functions.sh.erb'),
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/joe/joerc':
|
if ($lsbdistcodename == 'buster') {
|
||||||
ensure => present,
|
file { '/etc/joe/joerc':
|
||||||
source => 'puppet:///modules/rhizo_base/joerc',
|
ensure => present,
|
||||||
require => Package['joe'],
|
source => 'puppet:///modules/rhizo_base/joerc.4.6',
|
||||||
}
|
require => Package['joe'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($lsbdistcodename == 'stretch') {
|
||||||
|
file { '/etc/joe/joerc':
|
||||||
|
ensure => present,
|
||||||
|
source => 'puppet:///modules/rhizo_base/joerc.4.4',
|
||||||
|
require => Package['joe'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica':
|
file { '/var/rhizomatica':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue