Ryan Lane has uploaded a new change for review.

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


Change subject: Run OSM's echo notification script signing
......................................................................

Run OSM's echo notification script signing

Once an instance has requested its puppet cert, it's ready to
be logged into. Send an alert at this stage.

Change-Id: Ib8af80342b9de1be00a5ccc86e74987cfd5d5159
---
M files/ldap/scripts/puppetsigner.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/15/58215/1

diff --git a/files/ldap/scripts/puppetsigner.py 
b/files/ldap/scripts/puppetsigner.py
index 1c04c3f..04265fe 100644
--- a/files/ldap/scripts/puppetsigner.py
+++ b/files/ldap/scripts/puppetsigner.py
@@ -41,6 +41,7 @@
                                        sys.stderr.write('Failed to remove the 
certificate: ' + path + '\n')
                        else:
                                subprocess.Popen(['/usr/sbin/puppetca -s ' + 
host], shell=True, stderr=subprocess.PIPE)
+                               subprocess.Popen(['/usr/bin/php 
/srv/org/wikimedia/controller/wikis/w/extensions/OpenStackManager/maintenance/onInstanceActionCompletion.php
 --action=build --instance=' + host], shell=True, stderr=subprocess.PIPE)
                proc = subprocess.Popen('/usr/bin/salt-key --list=unaccepted 
--out=json', shell=True, stdout=subprocess.PIPE)
                hosts = proc.communicate()
                hosts = json.loads(hosts[0])

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

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

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

Reply via email to