diff options
-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 } + } +} |