summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/daemon/base.pp3
-rw-r--r--manifests/daemon/debian.pp11
2 files changed, 2 insertions, 12 deletions
diff --git a/manifests/daemon/base.pp b/manifests/daemon/base.pp
index 5dd16d6..5632950 100644
--- a/manifests/daemon/base.pp
+++ b/manifests/daemon/base.pp
@@ -7,6 +7,7 @@ class git::daemon::base {
"puppet://$server/modules/git/init.d/${operatingsystem}/git-daemon",
"puppet://$server/modules/git/init.d/git-daemon" ],
require => Package['git'],
+ path => "/etc/init.d/git-daemon",
owner => root, group => 0, mode => 0755;
}
@@ -17,6 +18,7 @@ class git::daemon::base {
"puppet://$server/modules/git/config/${operatingsystem}/git-daemon",
"puppet://$server/modules/git/config/git-daemon" ],
require => Package['git'],
+ path => "/etc/default/git-daemon",
owner => root, group => 0, mode => 0644;
}
@@ -26,5 +28,4 @@ class git::daemon::base {
hasstatus => true,
require => [ File['git-daemon_initscript'], File['git-daemon_config'] ],
}
-
}
diff --git a/manifests/daemon/debian.pp b/manifests/daemon/debian.pp
deleted file mode 100644
index 006ffc5..0000000
--- a/manifests/daemon/debian.pp
+++ /dev/null
@@ -1,11 +0,0 @@
-class git::daemon::debian inherits git::daemon::base {
-
- File['git-daemon_initscript'] {
- path => '/etc/init.d/git-daemon',
- }
-
- File['git-daemon_config'] {
- path => '/etc/default/git-daemon',
- }
-
-}