forked from ungleich-public/cdist
		
	[ARCHIVE] Remove example modules containing collectd/efsh/nginx/postgres code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								6bd456f1e8
							
						
					
				
			
			
				commit
				
					
						97a70cfc8b
					
				
			
		
					 5 changed files with 0 additions and 59 deletions
				
			
		| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
#!/bin/sh
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# 2010 Nico Schottelius (nico-cdist at schottelius.org)
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# This file is part of cdist.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# cdist is free software: you can redistribute it and/or modify
 | 
					 | 
				
			||||||
# it under the terms of the GNU General Public License as published by
 | 
					 | 
				
			||||||
# the Free Software Foundation, either version 3 of the License, or
 | 
					 | 
				
			||||||
# (at your option) any later version.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# cdist is distributed in the hope that it will be useful,
 | 
					 | 
				
			||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					 | 
				
			||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					 | 
				
			||||||
# GNU General Public License for more details.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# You should have received a copy of the GNU General Public License
 | 
					 | 
				
			||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
collectd()
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
   config_source="${1:-modules/collectd/collectd.conf}"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
   echo cdist_package collectd
 | 
					 | 
				
			||||||
   echo cdist_file /etc/collectd/collectd.conf "${config_source}"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,6 +0,0 @@
 | 
				
			||||||
efsh_base()
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
   efsh_servicedir="/home/services"
 | 
					 | 
				
			||||||
   efsh_userdir="/home/users"
 | 
					 | 
				
			||||||
   efsh_groupdir="/home/groups"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,5 +0,0 @@
 | 
				
			||||||
. ./base.sh
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
echo $efsh_userdir
 | 
					 | 
				
			||||||
efsh
 | 
					 | 
				
			||||||
echo $efsh_userdir
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
cat << eof
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# D-INFK SANS MANAGED FILE
 | 
					 | 
				
			||||||
# ========================
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# Do not change this file. Changes will be overwritten by puppet.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
server {
 | 
					 | 
				
			||||||
   # Only bind on the reserved IP address
 | 
					 | 
				
			||||||
   listen $nginx_website;
 | 
					 | 
				
			||||||
   server_name $server_name;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
   location / {
 | 
					 | 
				
			||||||
      root /home/services/www/$username/$server_name/www;
 | 
					 | 
				
			||||||
   }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
eof
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,2 +0,0 @@
 | 
				
			||||||
# Ensure postgresql 8.4 is instelled
 | 
					 | 
				
			||||||
__package --ensure installed --name postgresql-8.4
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue