only call get_tusted_certs() every 6 hours
[nodeconfig.git] / db-config.d / 030-conf_files_sfa
index 63d4ec5..93690b0 100644 (file)
@@ -5,11 +5,12 @@
 
 conf_files = [
 
-# sfa
+# 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', 
+     'dest': u'/etc/sfa/sfa_config.py', 
      'file_permissions': u'644', 
      'file_owner': u'root', 
      'file_group': u'root',
@@ -17,6 +18,19 @@ conf_files = [
      'postinstall_cmd': '', 
      'error_cmd': '', 
      'ignore_cmd_errors': False, 
+     'always_update': False},
+    # /etc/cron.d/sfa_component_setup.cron
+    # jobs to update slice gids and trusted certs on a component  
+    {'enabled': True,
+     'source': u'PlanetLabConf/sfa_component_setup_cron.php',
+     'dest': u'/etc/cron.d/sfa_component_setup.cron',
+     'file_permissions': u'644',
+     'file_owner': u'root',
+     'file_group': u'root',
+     'preinstall_cmd': u'',
+     'postinstall_cmd': 'service crond reload',
+     'error_cmd': '',
+     'ignore_cmd_errors': False,
      'always_update': False}
 
     ]