init of lsb module
This commit is contained in:
commit
698e6e98b8
4 changed files with 19 additions and 0 deletions
3
manifests/base.pp
Normal file
3
manifests/base.pp
Normal file
|
@ -0,0 +1,3 @@
|
|||
class lsb::base {
|
||||
package{'lsb': ensure => present }
|
||||
}
|
5
manifests/centos.pp
Normal file
5
manifests/centos.pp
Normal file
|
@ -0,0 +1,5 @@
|
|||
class lsb::centos inherits lsb::base {
|
||||
Package['lsb']{
|
||||
name => 'redhat-lsb',
|
||||
}
|
||||
}
|
5
manifests/debian.pp
Normal file
5
manifests/debian.pp
Normal file
|
@ -0,0 +1,5 @@
|
|||
class lsb::debian inherits lsb::base {
|
||||
Package['lsb']{
|
||||
name => 'lsb-release',
|
||||
}
|
||||
}
|
6
manifests/init.pp
Normal file
6
manifests/init.pp
Normal file
|
@ -0,0 +1,6 @@
|
|||
class lsb {
|
||||
case $operatingsystem {
|
||||
debian: { include lsb::debian }
|
||||
centos: { include lsb::centos }
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue