summaryrefslogtreecommitdiff
path: root/manifests/daemon/vhosts.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/daemon/vhosts.pp
parent33e4b7be056c3e0b25c8864f4a56082817c38158 (diff)
provide initial Debian compatibility for git and git::daemon classes
Diffstat (limited to 'manifests/daemon/vhosts.pp')
-rw-r--r--manifests/daemon/vhosts.pp10
1 files changed, 6 insertions, 4 deletions
diff --git a/manifests/daemon/vhosts.pp b/manifests/daemon/vhosts.pp
index 4250a5e..d627df1 100644
--- a/manifests/daemon/vhosts.pp
+++ b/manifests/daemon/vhosts.pp
@@ -1,7 +1,9 @@
class git::daemon::vhosts inherits git::daemon {
- File['/etc/sysconfig/git-daemon']{
- source => [ "puppet://$server/modules/site-git/sysconfig/${fqdn}/git-daemon.vhosts",
- "puppet://$server/modules/site-git/sysconfig/git-daemon.vhosts",
- "puppet://$server/modules/git/sysconfig/git-daemon.vhosts" ],
+ File['git-daemon_config']{
+ source => [ "puppet://$server/modules/site-git/config/${fqdn}/git-daemon.vhosts",
+ "puppet://$server/modules/site-git/config/${operatingsystem}/git-daemon.vhosts",
+ "puppet://$server/modules/site-git/config/git-daemon.vhosts",
+ "puppet://$server/modules/git/config/${operatingsystem}/git-daemon.vhosts",
+ "puppet://$server/modules/git/config/git-daemon.vhosts" ],
}
}