diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:23 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:23 -0400 |
commit | 6affc72f829247fc78b637c27f47cf8bf6beafb7 (patch) | |
tree | f0779bc4f1dcd2814cc7f10f73446900a5f21705 | |
parent | d5e5d2f82a403fe507e7c58a6373d693f0906a1e (diff) | |
parent | c6ee07dab8f08fb336d3452e0eda3ffbfae5baad (diff) |
Merge commit 'c6ee07dab8f08fb336d3452e0eda3ffbfae5baad' as 'puppet/modules/lsb'
-rw-r--r-- | puppet/modules/lsb/manifests/base.pp | 3 | ||||
-rw-r--r-- | puppet/modules/lsb/manifests/centos.pp | 5 | ||||
-rw-r--r-- | puppet/modules/lsb/manifests/debian.pp | 6 | ||||
-rw-r--r-- | puppet/modules/lsb/manifests/init.pp | 6 |
4 files changed, 20 insertions, 0 deletions
diff --git a/puppet/modules/lsb/manifests/base.pp b/puppet/modules/lsb/manifests/base.pp new file mode 100644 index 00000000..9dc8d5a4 --- /dev/null +++ b/puppet/modules/lsb/manifests/base.pp @@ -0,0 +1,3 @@ +class lsb::base { + package{'lsb': ensure => present } +} diff --git a/puppet/modules/lsb/manifests/centos.pp b/puppet/modules/lsb/manifests/centos.pp new file mode 100644 index 00000000..b7006187 --- /dev/null +++ b/puppet/modules/lsb/manifests/centos.pp @@ -0,0 +1,5 @@ +class lsb::centos inherits lsb::base { + Package['lsb']{ + name => 'redhat-lsb', + } +} diff --git a/puppet/modules/lsb/manifests/debian.pp b/puppet/modules/lsb/manifests/debian.pp new file mode 100644 index 00000000..c32070f3 --- /dev/null +++ b/puppet/modules/lsb/manifests/debian.pp @@ -0,0 +1,6 @@ +class lsb::debian inherits lsb::base { + Package['lsb']{ + name => 'lsb-release', + require => undef, + } +} diff --git a/puppet/modules/lsb/manifests/init.pp b/puppet/modules/lsb/manifests/init.pp new file mode 100644 index 00000000..85b34e1f --- /dev/null +++ b/puppet/modules/lsb/manifests/init.pp @@ -0,0 +1,6 @@ +class lsb { + case $::operatingsystem { + debian,ubuntu: { include lsb::debian } + centos: { include lsb::centos } + } +} |