Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172414

Change subject: Put project name in 'notes' field of host
......................................................................

Put project name in 'notes' field of host

Change-Id: If097526f413f36407acdff852cc81216f9c84556
---
M shingen/generators/hosts.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/shinkengen 
refs/changes/14/172414/1

diff --git a/shingen/generators/hosts.py b/shingen/generators/hosts.py
index 8cb5d46..0afb391 100644
--- a/shingen/generators/hosts.py
+++ b/shingen/generators/hosts.py
@@ -8,4 +8,5 @@
     projects = [project_name, config.get('default-hostgroup', 'labshost')]
     co.properties['hostgroups'] = ','.join(projects)
     co.properties['contact_groups'] = project_name
+    co.properties['notes'] = project_name # Used for auto deriving graphite 
path
     return co

-- 
To view, visit https://gerrit.wikimedia.org/r/172414
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If097526f413f36407acdff852cc81216f9c84556
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/shinkengen
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to