updated source for /etc/sfa/sfa_config
[myplc.git] / db-config.d / 02-nodetags
index 02f441c..8991a9f 100644 (file)
@@ -1,5 +1,5 @@
 #################### node tags
-default_node_types = [
+default_node_tags = [
     { 'tagname' : 'arch',
       'description' : 'architecture name',
       'category' : 'node/config', 
@@ -12,5 +12,11 @@ default_node_types = [
       'description' : 'typically "alpha", "beta", or "production"',
       'category' : 'node/operation', 
       'min_role_id' : 10} ,
+
+    { 'tagname' : 'exempt_node_until',
+      'description' : 'Exclude this node from MyOps until given date (YYYYMMDD)',
+      'category' : 'node/myops', 
+      'min_role_id' : 10} ,
     ]
 
+for node_type in default_node_tags: SetTagType (node_type)