Created
March 27, 2012 16:51
-
-
Save bcarpio/2217854 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- mongod.py --- | |
@task | |
def rolling_upgrade(): | |
""" Rolling upgrade of mongodb """ | |
execute(puppet.puppetd_test) | |
--- puppet.py --- | |
@task | |
@parallel | |
def puppetd_test(): | |
""" Runs puppetd --test Which Will Update Puppet Changes """ | |
users.root() | |
env.warn_only | |
run ('puppetd --test') | |
---- command --- | |
fab -R mongod-s1 puppet.rolling_upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment