Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: role::mha: move templates to module
......................................................................

role::mha: move templates to module

Change-Id: Idb76445a88a19d67caed5c5aa08b40325c76c3d2
---
M modules/role/manifests/mha/manager.pp
R modules/role/templates/mha/local.erb
R modules/role/templates/mha/siteswitch.erb
3 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/83/310783/1

diff --git a/modules/role/manifests/mha/manager.pp 
b/modules/role/manifests/mha/manager.pp
index 32e4171..1b5a06c 100644
--- a/modules/role/manifests/mha/manager.pp
+++ b/modules/role/manifests/mha/manager.pp
@@ -54,7 +54,7 @@
             owner   => 'root',
             group   => 'root',
             mode    => '0400',
-            content => template('mha/local.erb'),
+            content => template('role/mha/local.erb'),
             require => File['/etc/mha'],
         }
     }
@@ -65,7 +65,7 @@
             owner   => 'root',
             group   => 'root',
             mode    => '0400',
-            content => template('mha/siteswitch.erb'),
+            content => template('role/mha/siteswitch.erb'),
             require => File['/etc/mha'],
         }
     }
diff --git a/templates/mha/local.erb b/modules/role/templates/mha/local.erb
similarity index 100%
rename from templates/mha/local.erb
rename to modules/role/templates/mha/local.erb
diff --git a/templates/mha/siteswitch.erb 
b/modules/role/templates/mha/siteswitch.erb
similarity index 100%
rename from templates/mha/siteswitch.erb
rename to modules/role/templates/mha/siteswitch.erb

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb76445a88a19d67caed5c5aa08b40325c76c3d2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

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

Reply via email to