Created
June 10, 2017 15:39
-
-
Save salekseev/8b911f8099b380ef95045d4a0440c84d to your computer and use it in GitHub Desktop.
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
exec { 'restore_golden_mongodump': | |
path => '/usr/bin:/usr/sbin:/bin', | |
onlyif => [ | |
'which mongorestore', | |
'echo "db.access_tokens.find()" | mongo --quiet graylog | grep prometheus', | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment