summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-02-09 11:19:01 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-02-09 11:19:01 -0500
commit9dd0aaaca05026a763333ef15da43f74890a50ad (patch)
tree6e4851f5c605a71228de58a083d288fbc645fd67 /manifests/init.pp
parent33e4b7be056c3e0b25c8864f4a56082817c38158 (diff)
provide initial Debian compatibility for git and git::daemon classes
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 9 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 812830c..3afce8d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -12,9 +12,14 @@
#
class git {
- include git::base
- if $use_shorewall {
- include shorewall::rules::out::git
- }
+ case $operatingsystem {
+ debian: { include git::debian }
+ centos: { include git::centos }
+ }
+
+ if $use_shorewall {
+ include shorewall::rules::out::git
+ }
+
}