-
-
Save anonymous/0ea02142e24ace6d0f6c 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
postgresql-9.1: | |
service: | |
- enabled | |
- require: | |
- pkg: postgresql91-server | |
- watch: | |
- cmd: pgsql_initdb | |
pgsql_initdb: | |
cmd.run: | |
name: "/sbin/service postgresql-9.1 initdb" | |
onlyif: "/usr/bin/test ! -e /var/lib/pgsql/9.1/data/PG_VERSION" | |
require: | |
- pkg: postgresql91-server | |
Errors: | |
[root@archon ~]# salt 'centos6-tester' state.sls postgres | |
centos6-tester: | |
Data failed to compile: | |
---------- | |
The state "pgsql_initdb" in sls postgres is not formed as a list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment