Skip to content

Instantly share code, notes, and snippets.

@obicho
Last active March 28, 2017 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obicho/a968c2b0d6ebe0be305fcd9703017707 to your computer and use it in GitHub Desktop.
Save obicho/a968c2b0d6ebe0be305fcd9703017707 to your computer and use it in GitHub Desktop.
#/srv/pillar/data.sls
wordpress:
sites:
sitename:
username: xxxxxxxxxx
password: xxxxx
database: xxxxx
dbuser: xxxxx
dbpass: xxxxx
url: http://xxxxx.com
title: 'My Blog d'
email: 'xxxxx@xxxxx.com'
# wp.sls
include:
- wordpress
- apache
- php
wp-server:
pkg.installed:
- name: wordpress
- require:
- pkg: php
- pkg: apache
I ran this command on master
sudo salt 'mini15' state.sls wp -l debug
Verified that Apache got installed and working
Php got installed and working
But can't find WP anywhere
There was no error after running salt - all return success
However, when I tried this from my minion,
wp --info
it just returns with no output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment