summaryrefslogtreecommitdiff
path: root/manifests/daemon/centos.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/daemon/centos.pp')
-rw-r--r--manifests/daemon/centos.pp19
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..270685a
--- /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'],
+ }
+
+}