added sfa_setup_component.cron job
authorTony Mack <tmack@cs.princeton.edu>
Wed, 17 Feb 2010 21:53:47 +0000 (21:53 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 17 Feb 2010 21:53:47 +0000 (21:53 +0000)
db-config.d/030-conf_files_sfa

index 75871a8..93690b0 100644 (file)
@@ -5,8 +5,9 @@
 
 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.py', 
@@ -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}
 
     ]