Skip to content

Instantly share code, notes, and snippets.

@kevinquinnyo
Created January 26, 2016 20:46
Show Gist options
  • Select an option

  • Save kevinquinnyo/4d943d1a533240743866 to your computer and use it in GitHub Desktop.

Select an option

Save kevinquinnyo/4d943d1a533240743866 to your computer and use it in GitHub Desktop.
if staging:
states['mysql-client-core-5.6'] = {
'pkg.installed': []
}
states['mv /root/wp-cli.phar /usr/local/bin/wp-cli && chmod +x /usr/local/bin/wp-cli'] = {
'cmd.run': [
{'onlyif': '/usr/bin/php /root/wp-cli.phar --allow-root --info'},
{'require': [
{'cmd': 'get-wp-cli'},
{'pkg': 'mysql-client-core-5.6'}
]}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment