Skip to content
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

(SUP-2384) Resource ordering issue with Rsan::Exporter/Pe_postgresql_psql #46

Closed
MartyEwings opened this issue Apr 26, 2021 · 0 comments · Fixed by #47
Closed

(SUP-2384) Resource ordering issue with Rsan::Exporter/Pe_postgresql_psql #46

MartyEwings opened this issue Apr 26, 2021 · 0 comments · Fixed by #47
Assignees
Labels
bug Something isn't working

Comments

@MartyEwings
Copy link
Collaborator

Describe the Bug

On primary server or replica first commission with RSAN its possible yo will bump into the following issue

Error: /Stage[main]/Rsan::Exporter/Pe_postgresql_psql[GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO rsan on pe-activity]: Could not evaluate: Error evaluating 'unless' clause: 'Error: Could not execute posix command: Invalid group: postgres
'
Error: /Stage[main]/Rsan::Exporter/Pe_postgresql_psql[GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO rsan on pe-classifier]: Could not evaluate: Error evaluating 'unless' clause: 'Error: Could not execute posix command: Invalid group: postgres
'
Error: /Stage[main]/Rsan::Exporter/Pe_postgresql_psql[GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO rsan on pe-inventory]: Could not evaluate: Error evaluating 'unless' clause: 'Error: Could not execute posix command: Invalid group: postgres
'
Error: /Stage[main]/Rsan::Exporter/Pe_postgresql_psql[GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO rsan on pe-puppetdb]: Could not evaluate: Error evaluating 'unless' clause: 'Error: Could not execute posix command: Invalid group: postgres
'
Error: /Stage[main]/Rsan::Exporter/Pe_postgresql_psql[GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO rsan on pe-rbac]: Could not evaluate: Error evaluating 'unless' clause: 'Error: Could not execute posix command: Invalid group: postgres
'
Error: /Stage[main]/Rsan::Exporter/Pe_postgresql_psql[GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO rsan on pe-orchestrator]: Could not evaluate: Error evaluating 'unless' clause: 'Error: Could not execute posix command: Invalid group: postgres
'

Environment

2019.8.6 and 2021.1

@MartyEwings MartyEwings added the bug Something isn't working label Apr 26, 2021
MartyEwings added a commit that referenced this issue Apr 26, 2021
@MartyEwings MartyEwings self-assigned this Apr 26, 2021
@MartyEwings MartyEwings linked a pull request Apr 26, 2021 that will close this issue
MartyEwings added a commit that referenced this issue Apr 27, 2021
* Fix #46

#46

* static variables for paths with defaults

* Update manifests/exporter.pp

Co-authored-by: Dylan <dylan.ratcliffe@puppet.com>

Co-authored-by: Dylan <dylan.ratcliffe@puppet.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant