From 2ead031c3e15ad1aeee4113be3250a74fa4bc766 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 10:40:42 -0200 Subject: Refactoring to use parametrized classes and hiera --- manifests/git-daemon.pp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 manifests/git-daemon.pp (limited to 'manifests/git-daemon.pp') 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, - } -} -- cgit v1.2.3