Giuseppe Lavagetto has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/346308 )

Change subject: Update the varnish task to use the new puppet scripts
......................................................................


Update the varnish task to use the new puppet scripts

Change-Id: If446b9e2972a76d75f4e1899eaad786c26fa141c
---
M switchdc/stages/t06_varnish_text_caches.py
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Giuseppe Lavagetto: Verified; Looks good to me, approved
  jenkins-bot: Verified
  Volans: Looks good to me, but someone else must approve



diff --git a/switchdc/stages/t06_varnish_text_caches.py 
b/switchdc/stages/t06_varnish_text_caches.py
index 275e746..0d8d4ab 100644
--- a/switchdc/stages/t06_varnish_text_caches.py
+++ b/switchdc/stages/t06_varnish_text_caches.py
@@ -1,4 +1,3 @@
-from switchdc.lib import puppet
 from switchdc.lib.remote import Remote
 
 __title__ = 'Enable Puppet and force a run to get updated config on Varnish 
text caches'
@@ -8,4 +7,4 @@
     """Enable Puppet and force a run to get updated config on Varnish text 
caches."""
     remote = Remote()
     remote.select('R:Class = Role::Cache::Text')
-    remote.async('puppet agent --enable', puppet.get_agent_run_command(), 
batch_size=30)
+    remote.async('enable-puppet', 'run-puppet-agent', batch_size=30)

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If446b9e2972a76d75f4e1899eaad786c26fa141c
Gerrit-PatchSet: 3
Gerrit-Project: operations/switchdc
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Volans <rcocci...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to