Skip to content

Instantly share code, notes, and snippets.

@aaronlelevier
Last active November 5, 2015 23:07
Show Gist options
  • Select an option

  • Save aaronlelevier/9eadcf4a5b4e58fe462b to your computer and use it in GitHub Desktop.

Select an option

Save aaronlelevier/9eadcf4a5b4e58fe462b to your computer and use it in GitHub Desktop.
salt postgres state
run-postgresql:
service.running:
- enable: true
- name: postgresql-93
- require:
- pkg: postgresql93
# I keep getting this error ->
ID: run-postgresql
Function: service.running
Name: postgresql-93
Result: False
Comment: The named service postgresql-93 is not available
Started: 15:00:35.247421
Duration: 407.496 ms
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment