X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=db-config.d%2F030-conf_files_ping_of_death;fp=db-config.d%2F030-conf_files_ping_of_death;h=79da0e4bd214f9c0758816f04721c2383c5ab68c;hb=53829cf14fa108259ab08b168339b9813ebae654;hp=0000000000000000000000000000000000000000;hpb=50e2adc8f9e2a58efafedbad31b66b347b0ac61f;p=myplc.git diff --git a/db-config.d/030-conf_files_ping_of_death b/db-config.d/030-conf_files_ping_of_death new file mode 100644 index 0000000..79da0e4 --- /dev/null +++ b/db-config.d/030-conf_files_ping_of_death @@ -0,0 +1,26 @@ +# -*-python-*- +# $Id: 030-conf_files 16642 2010-01-18 17:14:40Z thierry $ +# $URL: svn+ssh://thierry@svn.planet-lab.org/svn/MyPLC/trunk/db-config.d/030-conf_files $ +#################### conf files + +conf_files = [ + +# PoD + # Ping of death configuration + # the 'restart' postcommand doesn't work, b/c the pod script doesn't support it. + {'enabled': True, + 'source': 'PlanetLabConf/ipod.conf.php', + 'dest': '/etc/ipod.conf', + 'file_permissions': '644', + 'file_owner': 'root', + 'file_group': 'root', + 'preinstall_cmd': '', + 'postinstall_cmd': '/etc/init.d/pod start', + 'error_cmd': '', + 'ignore_cmd_errors': False, + 'always_update': False}, + + ] + +for conf_file in conf_files: + SetConfFile(conf_file)