Volans has submitted this change and it was merged.

Change subject: Salt: avoid Puppet warning
......................................................................


Salt: avoid Puppet warning

Bug: T145544
Change-Id: I56cca6a44e63c0290aef43963e3b2cab654c4042
---
M modules/salt/files/wmf_auto_reimage.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Volans: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/salt/files/wmf_auto_reimage.py 
b/modules/salt/files/wmf_auto_reimage.py
index 74ccb53..d27d985 100644
--- a/modules/salt/files/wmf_auto_reimage.py
+++ b/modules/salt/files/wmf_auto_reimage.py
@@ -500,7 +500,7 @@
         Raise:
         RuntimeError if any host is not valid and no_raise is False
     """
-    command = "puppet cert list '{host}'"
+    command = "puppet cert list '{host}' 2> /dev/null"
     hosts_commands = {host: [command.format(host=host)] for host in hosts}
 
     for host, result in proxy_command(

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I56cca6a44e63c0290aef43963e3b2cab654c4042
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Volans <rcocci...@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