Skip to content

add example on how to enable extension on a db #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ek9
Copy link
Contributor

@ek9 ek9 commented Jan 24, 2017

add example on how to enable extension on a db

@javierbertoli javierbertoli merged commit 9ece3e9 into saltstack-formulas:master Jan 24, 2017
@javierbertoli
Copy link
Member

Thanks @ek9!

@ek9 ek9 deleted the pillar-extension-fix branch January 24, 2017 19:22
@YetAnotherMinion
Copy link
Contributor

Just a note about this per db extensions. I see warning that schemas and extensions will not work in Nitrogen version of SaltStack. I made a naive attempt to squash this error by moving the per database extensions and schemas under a context key, but that just changed the warning to context being an invalid keyword for postgres_database.present. I don't know enough about salt yet to know exactly where the postgres_database_present expects to find the context parameter.

 Warnings: 'extensions' and 'schemas' are invalid keyword arguments for
              'postgres_database.present'. If you were trying to pass additional
              data to be used in a template context, please populate 'context'
              with 'key: value' pairs. Your approach will work until Salt
              Nitrogen is out. Please update your state files.

@ek9
Copy link
Contributor Author

ek9 commented Feb 6, 2017

@YetAnotherMinion perhaps you could open a separate issue for this (call it something related to Nitrogen extension and schema support) . I could have a look later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants