diff options
author | varac <varacanero@zeromail.org> | 2016-06-09 17:32:48 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-06-14 12:05:18 +0200 |
commit | 5a5cf2ad4599691a35e76ec3cd13bedb6bdc97c1 (patch) | |
tree | f1a9b693f9af701035d0230451ef672b11218dd5 /puppet/modules | |
parent | 48c365fe2168aaca00e482c00e88b94c4c166459 (diff) |
git subrepo clone https://leap.se/git/puppet_lsb puppet/modules/lsb
subrepo:
subdir: "puppet/modules/lsb"
merged: "bac64e7"
upstream:
origin: "https://leap.se/git/puppet_lsb"
branch: "master"
commit: "bac64e7"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "cb2995b"
Diffstat (limited to 'puppet/modules')
-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 |
5 files changed, 31 insertions, 0 deletions
diff --git a/puppet/modules/lsb/.gitrepo b/puppet/modules/lsb/.gitrepo new file mode 100644 index 00000000..55141dbb --- /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 = ba11946026206aa56c8ec7198fa5dbcce336fe85 + 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 } + } +} |