source: genesis/tools/FreeBSD5_x/genesis.conf@ 5722

Last change on this file since 5722 was 5230, checked in by rick, 19 years ago

Made more generic
/filelist will be filelist
/nodelist will return nodelist

added option to remove certain dirs at the nodedir

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1#!/usr/bin/perl -w
2#
3# Variable file
4
5$NG = 0;
6
7#debugging variable
8$debug=0;
9
10#author credits
11$author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005 rick\@WirelessLeiden.NL";
12
13#filelist
14@filelist = ();
15$filelist[0]="dhcpd.conf";
16$filelist[1]="rc.local"; # Always include (as to overwrite existing file)
17$filelist[2]="rc.node.local";
18$filelist[3]="resolv.conf";
19$filelist[4]="named.conf";
20$filelist[5]="snmpd.local.conf";
21$filelist[6]="txtconfig";
22$filelist[7]="authorized_keys";
23
24#Ignore this node diretories
25%removefromnodelist = (
26 'retired' => 'YES',
27 'obsolete' => 'YES',
28 );
29
30
31#(inter)net env
32if( defined $ENV{'SERVER_NAME'} ) {
33 $hostname=$ENV{'SERVER_NAME'};
34}
35else {
36 $hostname=`hostname`;
37};
38
39chomp($hostname);
40$cgi_dir="http://$hostname/cgi-bin";
41$source="$cgi_dir/g_list.pl";
42
43#path variablen
44$home="/home/genesis";
45$ndir="$home/nodes";
46#$toolfile="$home/tools/wleiden.pl";
47#Temp Svn fix
48$toolfile="$home/tools/FreeBSD5_x/wleiden.pl";
49
50
51#exec vars
52$svn="/usr/local/bin/svn";
53$wicontrol='/usr/sbin/wicontrol';
54
55#naming vars
56$configfile="wleiden.conf";
57
58#module IP.pm
59$IP_pmPath='/home/genesis/tools/IP.pm';
60
61#dnsheader.conf
62$dnsheader_confPath='/home/genesis/dns/dnsheader.conf';
63
64
65## ssh key variablen ##
66#global ssh_keys
67$global_keyPath='/home/genesis/nodes/global_keys';
68#node specific
69$ssh_file='ssh_key'
70
Note: See TracBrowser for help on using the repository browser.