Created
December 10, 2012 14:07
-
-
Save vi4m/4250744 to your computer and use it in GitHub Desktop.
deployment
This file contains hidden or 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
@plugin.register(chain='deployment', requires=[], priority=0) | |
def puppet(deployment_id): | |
if not settings.PUPPET_DB_URL: | |
return True | |
deployment = Deployment.objects.get(id=deployment_id) | |
return deployment.puppet_certificate_revoked |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment