init of lsb module

This commit is contained in:
mh 2009-10-30 22:01:36 +01:00
commit 698e6e98b8
4 changed files with 19 additions and 0 deletions

3
manifests/base.pp Normal file
View file

@ -0,0 +1,3 @@
class lsb::base {
package{'lsb': ensure => present }
}

5
manifests/centos.pp Normal file
View file

@ -0,0 +1,5 @@
class lsb::centos inherits lsb::base {
Package['lsb']{
name => 'redhat-lsb',
}
}

5
manifests/debian.pp Normal file
View file

@ -0,0 +1,5 @@
class lsb::debian inherits lsb::base {
Package['lsb']{
name => 'lsb-release',
}
}

6
manifests/init.pp Normal file
View file

@ -0,0 +1,6 @@
class lsb {
case $operatingsystem {
debian: { include lsb::debian }
centos: { include lsb::centos }
}
}