summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
blob: bc2e3eb432d8d6598b448221abf38128e16ff9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class augeas::debian inherits augeas::base {

  package {
    ['augeas-lenses', 'libaugeas0', 'augeas-tools']:
      ensure => $augeas::base::version,
      before => File['/usr/share/augeas/lenses'],
  }

  $augeas_ruby = $::lsbdistcodename ? {
    'wheezy' => 'libaugeas-ruby1.9.1',
    default  => 'libaugeas-ruby1.8',
  }

  package {$augeas_ruby:
    ensure => $augeas::base::rubylib_version,
  }

}