summaryrefslogtreecommitdiff
path: root/manifests/shadow
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2010-12-23 10:57:35 +0100
committerMarcel Haerry <haerry@puzzle.ch>2010-12-23 10:57:35 +0100
commitbfcc19e628073a0f8e6646308399dfec5dbb188d (patch)
tree4da7cd07c30f2c729ea24bbd38ad09973ec6ff55 /manifests/shadow
parente5b8e782a0b3c878c9a55efda242ef0a3949c922 (diff)
make shadow also working on debian
Diffstat (limited to 'manifests/shadow')
-rw-r--r--manifests/shadow/base.pp6
-rw-r--r--manifests/shadow/debian.pp5
2 files changed, 11 insertions, 0 deletions
diff --git a/manifests/shadow/base.pp b/manifests/shadow/base.pp
new file mode 100644
index 0000000..af8c5c9
--- /dev/null
+++ b/manifests/shadow/base.pp
@@ -0,0 +1,6 @@
+class ruby::shadow::base {
+ require ::ruby
+ package{'ruby-shadow':
+ ensure => installed,
+ }
+}
diff --git a/manifests/shadow/debian.pp b/manifests/shadow/debian.pp
new file mode 100644
index 0000000..7887137
--- /dev/null
+++ b/manifests/shadow/debian.pp
@@ -0,0 +1,5 @@
+class ruby::shadow::debian inherits ruby::shadow::base {
+ Package['ruby-shadow']{
+ name => 'libshadow-ruby1.8'
+ }
+}