diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-09 11:19:01 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2010-02-09 11:19:01 -0500 |
commit | 9dd0aaaca05026a763333ef15da43f74890a50ad (patch) | |
tree | 6e4851f5c605a71228de58a083d288fbc645fd67 /manifests/daemon/centos.pp | |
parent | 33e4b7be056c3e0b25c8864f4a56082817c38158 (diff) |
provide initial Debian compatibility for git and git::daemon classes
Diffstat (limited to 'manifests/daemon/centos.pp')
-rw-r--r-- | manifests/daemon/centos.pp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/manifests/daemon/centos.pp b/manifests/daemon/centos.pp new file mode 100644 index 0000000..940ae52 --- /dev/null +++ b/manifests/daemon/centos.pp @@ -0,0 +1,19 @@ +class git::daemon::centos inherits git::daemon::base { + + package { 'git-daemon': + ensure => installed, + require => Package['git'], + alias => 'git-daemon', + } + + File { 'git-daemon_initscript': + path => '/etc/init.d/git-daemon', + require +> Package['git-daemon'], + } + + File { 'git-daemon_config': + path => '/etc/init.d/git-daemon', + require +> Package['git-daemon'], + } + +} |