reordered
[myplc.git] / db-config.d / 090-my_ops
diff --git a/db-config.d/090-my_ops b/db-config.d/090-my_ops
new file mode 100644 (file)
index 0000000..75ae9fd
--- /dev/null
@@ -0,0 +1,32 @@
+# -*-python-*-
+# $Id$
+# $URL$
+########
+myops_node_tags = [
+    { '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 myops_node_tags: SetTagType (node_type)
+
+########
+myops_site_tags = [
+    { 'tagname' : 'exempt_site_until',
+      'description' : 'Exclude this site from MyOps until given date (YYYYMMDD)',
+      'category' : 'site/myops', 
+      'min_role_id' : 10} ,
+]
+
+for site_type in myops_site_tags: SetTagType (site_type)
+########
+myops_person_tags = [
+    { 'tagname' : 'exempt_person_until',
+      'description' : 'Exclude this person from MyOps until given date (YYYYMMDD)',
+      'category' : 'person/myops', 
+      'min_role_id' : 10} ,
+]
+
+for person_type in myops_person_tags: SetTagType (person_type)