moving conf_files creation scripts to nodeconfig
[nodeconfig.git] / db-config.d / 030-conf_files_ping_of_death
1 # -*-python-*-
2 # $Id: 030-conf_files 16642 2010-01-18 17:14:40Z thierry $
3 # $URL: svn+ssh://thierry@svn.planet-lab.org/svn/MyPLC/trunk/db-config.d/030-conf_files $
4 #################### conf files
5
6 conf_files = [
7
8 # PoD
9     # Ping of death configuration
10     # the 'restart' postcommand doesn't work, b/c the pod script doesn't support it.
11     {'enabled': True,
12      'source': 'PlanetLabConf/ipod.conf.php',
13      'dest': '/etc/ipod.conf',
14      'file_permissions': '644',
15      'file_owner': 'root',
16      'file_group': 'root',
17      'preinstall_cmd': '',
18      'postinstall_cmd': '/etc/init.d/pod start',
19      'error_cmd': '',
20      'ignore_cmd_errors': False,
21      'always_update': False},
22     
23     ]
24
25 for conf_file in conf_files:
26         SetConfFile(conf_file)