Setting tag myplc-5.3-5
[myplc.git] / db-config.d / 090-my_ops
1 # -*-python-*-
2 # rely on default for tag_types roles, as this defaults to admin-only
3 ########
4 myops_node_tags = [
5     { 'tagname' : 'exempt_node_until',
6       'description' : 'Exclude this node from MyOps until given date (YYYYMMDD)',
7       'category' : 'node/myops'} ,
8 ]
9
10 for node_type in myops_node_tags: SetTagType (node_type)
11
12 ########
13 myops_site_tags = [
14     { 'tagname' : 'exempt_site_until',
15       'description' : 'Exclude this site from MyOps until given date (YYYYMMDD)',
16       'category' : 'site/myops'} ,
17 ]
18
19 for site_type in myops_site_tags: SetTagType (site_type)
20  
21 ########
22 myops_person_tags = [
23     { 'tagname' : 'exempt_person_until',
24       'description' : 'Exclude this person from MyOps until given date (YYYYMMDD)',
25       'category' : 'person/myops'} ,
26 ]
27
28 for person_type in myops_person_tags: SetTagType (person_type)