blob: e7120af5ea2f31fe3908aa46e69bf3aa5245415b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class augeas::params {
$lens_dir = '/usr/share/augeas/lenses'
case $::osfamily {
'RedHat': {
$ruby_pkg = 'ruby-augeas'
$augeas_pkgs = ['augeas', 'augeas-libs']
}
'Debian': {
$ruby_pkg = $::lsbdistcodename ? {
'wheezy' => 'libaugeas-ruby1.9.1',
default => 'libaugeas-ruby1.8',
}
$augeas_pkgs = ['augeas-lenses', 'libaugeas0', 'augeas-tools']
}
default: { fail("Unsupported OS family: ${::osfamily}") }
}
}
|