Muehlenhoff has uploaded a new change for review.

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

Change subject: Assign salt grains for bastion hosts
......................................................................

Assign salt grains for bastion hosts

Change-Id: I67cd84717fa4e9aa15606ea5ac01cf014903b8a4
---
M hieradata/role/common/bastionhost/general.yaml
A hieradata/role/common/bastionhost/opsonly.yaml
M modules/debdeploy/templates/debdeploy.erb
3 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/50/247550/1

diff --git a/hieradata/role/common/bastionhost/general.yaml 
b/hieradata/role/common/bastionhost/general.yaml
index 9280a66..3375d73 100644
--- a/hieradata/role/common/bastionhost/general.yaml
+++ b/hieradata/role/common/bastionhost/general.yaml
@@ -12,3 +12,6 @@
   - parsoid-admin
   - ocg-render-admins
   - bastiononly
+debdeploy::grains:
+  debdeploy-bastion:
+    value: standard
diff --git a/hieradata/role/common/bastionhost/opsonly.yaml 
b/hieradata/role/common/bastionhost/opsonly.yaml
new file mode 100644
index 0000000..f9124ed
--- /dev/null
+++ b/hieradata/role/common/bastionhost/opsonly.yaml
@@ -0,0 +1,3 @@
+debdeploy::grains:
+  debdeploy-bastion:
+    value: canary
diff --git a/modules/debdeploy/templates/debdeploy.erb 
b/modules/debdeploy/templates/debdeploy.erb
index 96b257e..891e691 100644
--- a/modules/debdeploy/templates/debdeploy.erb
+++ b/modules/debdeploy/templates/debdeploy.erb
@@ -34,3 +34,5 @@
 eventlogging = debdeploy-eventlogging:standard
 ganeti = debdeploy-ganeti:standard
 ganeti-canary = debdeploy-ganeti:canary
+bastion = debdeploy-bastion:standard
+bastion-canary = debdeploy-bastion:canary

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67cd84717fa4e9aa15606ea5ac01cf014903b8a4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <mmuhlenh...@wikimedia.org>

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

Reply via email to