aboutsummaryrefslogtreecommitdiff
path: root/manifests/git-daemon.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:40:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:40:42 -0200
commit2ead031c3e15ad1aeee4113be3250a74fa4bc766 (patch)
tree3db141612ee7347d3ffb8562e99b191a34528954 /manifests/git-daemon.pp
parent68f7dc307e1ba12b5bbdabdc7d516de65981ec2e (diff)
downloadpuppet-git-2ead031c3e15ad1aeee4113be3250a74fa4bc766.tar.gz
puppet-git-2ead031c3e15ad1aeee4113be3250a74fa4bc766.tar.bz2
Refactoring to use parametrized classes and hiera
Diffstat (limited to 'manifests/git-daemon.pp')
-rw-r--r--manifests/git-daemon.pp17
1 files changed, 0 insertions, 17 deletions
diff --git a/manifests/git-daemon.pp b/manifests/git-daemon.pp
deleted file mode 100644
index 5a5e4fb..0000000
--- a/manifests/git-daemon.pp
+++ /dev/null
@@ -1,17 +0,0 @@
-# This class configures the git-daemon service. It ensures the packages is
-# installed and a line is present in /etc/inetd.conf, which configures it.
-# It depends on a "line" definition, which can be found here:
-#
-# http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText
-
-class git-daemon inherits git-manager {
- # the needed packages and services
- include inetd
-
- # git-daemon config in inetd
- line { "git-daemon-inetd":
- file => "/etc/inetd.conf",
- line => "git stream tcp nowait $git_server_implementation /usr/bin/git git daemon --inetd --verbose --base-path=/var/git/repositories /var/git/repositories",
- ensure => present,
- }
-}