Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: kick.py

Issue 6676867801153536: Issue 2379 - Ensure Puppet-master update taking place before resolving hosts (Closed)
Patch Set: Created April 21, 2015, 1:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: kick.py
===================================================================
--- a/kick.py
+++ b/kick.py
@@ -55,10 +55,10 @@
if __name__ == '__main__':
options = parseOptions(sys.argv[1:])
+ updateMaster(options.user)
needKicking = resolveHostList(options)
if len(needKicking) == 0:
print >>sys.stderr, 'No valid hosts or groups specified, nothing to do'
sys.exit(0)
- updateMaster(options.user)
for host in needKicking:
updateClient(options.user, host, options.mode)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld