Muehlenhoff has uploaded a new change for review.

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

Change subject: Add salt grains for spares
......................................................................

Add salt grains for spares

Change-Id: I476415c031cb5d2433a31fdddd899df1cb150b1d
---
A hieradata/role/common/spare.yaml
M modules/debdeploy/templates/debdeploy.erb
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/47/246947/1

diff --git a/hieradata/role/common/spare.yaml b/hieradata/role/common/spare.yaml
new file mode 100644
index 0000000..f877951
--- /dev/null
+++ b/hieradata/role/common/spare.yaml
@@ -0,0 +1,3 @@
+debdeploy::grains:
+  debdeploy-spare:
+    value: standard
diff --git a/modules/debdeploy/templates/debdeploy.erb 
b/modules/debdeploy/templates/debdeploy.erb
index 12d9a8e..7cee66e 100644
--- a/modules/debdeploy/templates/debdeploy.erb
+++ b/modules/debdeploy/templates/debdeploy.erb
@@ -6,7 +6,7 @@
 # A list of servers, each defined by one or more Salt grains. If multiple 
grains
 # are specified, they're processed sequentially
 analytics = debdeploy-analytics:true
-misc-servers = debdeploy-tor:standard, debdeploy-ve:standard, 
debdeploy-gitblit:standard
+misc-servers = debdeploy-tor:standard, debdeploy-ve:standard, 
debdeploy-gitblit:standard, debdeploy-spare:standard
 swift = debdeploy-swift-proxy:true, debdeploy-swift-storage:true
 swift-storage = debdeploy-swift-storage:true
 swift-proxy = debdeploy-swift-proxy:true

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I476415c031cb5d2433a31fdddd899df1cb150b1d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to