diff options
author | mh <mh@immerda.ch> | 2009-10-30 22:01:36 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-10-30 22:01:36 +0100 |
commit | 698e6e98b88caa90f4479dbb04d4b2b0b79867df (patch) | |
tree | 7f339ece29017f9aa4fc32c8ef303dc690945597 /manifests | |
download | puppet-lsb-698e6e98b88caa90f4479dbb04d4b2b0b79867df.tar.gz puppet-lsb-698e6e98b88caa90f4479dbb04d4b2b0b79867df.tar.bz2 |
init of lsb module
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 3 | ||||
-rw-r--r-- | manifests/centos.pp | 5 | ||||
-rw-r--r-- | manifests/debian.pp | 5 | ||||
-rw-r--r-- | manifests/init.pp | 6 |
4 files changed, 19 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp new file mode 100644 index 0000000..9dc8d5a --- /dev/null +++ b/manifests/base.pp @@ -0,0 +1,3 @@ +class lsb::base { + package{'lsb': ensure => present } +} diff --git a/manifests/centos.pp b/manifests/centos.pp new file mode 100644 index 0000000..b700618 --- /dev/null +++ b/manifests/centos.pp @@ -0,0 +1,5 @@ +class lsb::centos inherits lsb::base { + Package['lsb']{ + name => 'redhat-lsb', + } +} diff --git a/manifests/debian.pp b/manifests/debian.pp new file mode 100644 index 0000000..a469e85 --- /dev/null +++ b/manifests/debian.pp @@ -0,0 +1,5 @@ +class lsb::debian inherits lsb::base { + Package['lsb']{ + name => 'lsb-release', + } +} diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..9db3a70 --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,6 @@ +class lsb { + case $operatingsystem { + debian: { include lsb::debian } + centos: { include lsb::centos } + } +} |