diff options
author | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
commit | 34a381efa8f6295080c843f86bfa07d4e41056af (patch) | |
tree | 9282cf5d4c876688602705a7fa0002bc4a810bde /puppet/modules/lsb | |
parent | 0a72bc6fd292bf9367b314fcb0347c4d35042f16 (diff) | |
parent | 5821964ff7e16ca7aa9141bd09a77d355db492a9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'puppet/modules/lsb')
m--------- | puppet/modules/lsb | 0 | ||||
-rw-r--r-- | puppet/modules/lsb/.gitrepo | 11 | ||||
-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 |
6 files changed, 31 insertions, 0 deletions
diff --git a/puppet/modules/lsb b/puppet/modules/lsb deleted file mode 160000 -Subproject 3742c1a00c5602154a81834443ec5b0ca32c4ca diff --git a/puppet/modules/lsb/.gitrepo b/puppet/modules/lsb/.gitrepo new file mode 100644 index 00000000..640efc53 --- /dev/null +++ b/puppet/modules/lsb/.gitrepo @@ -0,0 +1,11 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://leap.se/git/puppet_lsb + branch = master + commit = bac64e7595a6d4f8d409b024a26bddb1c06188d6 + parent = 2e384e68fb867d8ba7178c4398e35653ab567538 + cmdver = 0.3.0 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 } + } +} |