trash sfa_config.php
Thierry Parmentelat [Wed, 3 Apr 2013 13:01:37 +0000 (15:01 +0200)]
first the CM not functional on nodes
on top this now gets PHP to whine like this :
[03-Apr-2013 12:47:30] PHP Warning:  file_exists(): open_basedir restriction in effect. File(/etc/sfa/sfa_component_config) is not within the allowed path(s): (/var/www/html:/etc/planetlab/php:/usr/share/plc_api/php:/var/log/myslice:/var/tmp/bootmedium:/var/log/bm:/tmp) in /var/www/html/PlanetLabConf/sfa_config.php on line 9

PlanetLabConf/sfa_config.php [deleted file]
db-config.d/030-conf_files_sfa [deleted file]

diff --git a/PlanetLabConf/sfa_config.php b/PlanetLabConf/sfa_config.php
deleted file mode 100755 (executable)
index e3e563d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-//
-// SFA Component Manager configuration   
-//
-
-$config_directory = "/etc/sfa/";
-$default_name = "sfa_component_config";
-$file_name = $config_directory . $default_name;
-if (file_exists($file_name)) {
-    readfile($file_name); 
-}
-exit();
-
-?>
diff --git a/db-config.d/030-conf_files_sfa b/db-config.d/030-conf_files_sfa
deleted file mode 100644 (file)
index de8d33b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*-python-*-
-#################### conf files
-
-conf_files = [
-
-# sfa config files for the SFA Component Manager (sfa-cm)
-    # /etc/sfa/sfa_config
-    # component config file  
-    {'enabled': True,
-     'source': u'PlanetLabConf/sfa_config.php', 
-     'dest': u'/etc/sfa/sfa_config.py', 
-     'file_permissions': u'644', 
-     'file_owner': u'root', 
-     'file_group': u'root',
-     'preinstall_cmd': u'mkdir /etc/sfa', 
-     'postinstall_cmd': '', 
-     'error_cmd': '', 
-     'ignore_cmd_errors': False, 
-     'always_update': False}
-    ]
-
-for conf_file in conf_files:
-       SetConfFile(conf_file)