forked from ungleich-public/cdist
mega cleaunp discussion commit :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
d171ad5e64
commit
4b5d7dda25
40 changed files with 84 additions and 67 deletions
28
conf/modules.obsoleted/collectd/manifest
Normal file
28
conf/modules.obsoleted/collectd/manifest
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#!/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}"
|
||||
}
|
||||
6
conf/modules.obsoleted/efsh/base.sh
Normal file
6
conf/modules.obsoleted/efsh/base.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
efsh_base()
|
||||
{
|
||||
efsh_servicedir="/home/services"
|
||||
efsh_userdir="/home/users"
|
||||
efsh_groupdir="/home/groups"
|
||||
}
|
||||
5
conf/modules.obsoleted/efsh/test.sh
Normal file
5
conf/modules.obsoleted/efsh/test.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
. ./base.sh
|
||||
|
||||
echo $efsh_userdir
|
||||
efsh
|
||||
echo $efsh_userdir
|
||||
18
conf/modules.obsoleted/nginx-website/nginx_config.sh
Normal file
18
conf/modules.obsoleted/nginx-website/nginx_config.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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
|
||||
2
conf/modules.obsoleted/postgresql/init
Normal file
2
conf/modules.obsoleted/postgresql/init
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Ensure postgresql 8.4 is instelled
|
||||
__package --ensure installed --name postgresql-8.4
|
||||
Loading…
Add table
Add a link
Reference in a new issue