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

using docker install with container_cfg attempts to use incorrect permissions #52

Closed
Justin-DynamicD opened this issue Aug 3, 2017 · 1 comment

Comments

@Justin-DynamicD
Copy link

Including a sample class:

if $grafana_install { class { 'grafana': install_method => 'docker', container_cfg => true, container_params => { 'ports' => "${grafana_port}:${grafana_port}" }, cfg => { app_mode => 'production', server => { http_port => $grafana_port, }, 'auth.anonymous' => { enabled => true, }, }, }

In the above scenario, the module will erroneously attempt to set ownership to the grafana.ini file to "grafana:grafana" even though the user will not exist on the host (it's in a docker container).

I can temporarily get around this by just creating the user, but I shouldn't need to.

@dhoppe
Copy link
Member

dhoppe commented Mar 27, 2019

@Justin-DynamicD I think this issue can be closed, because Grafana now creates the user and the group with the help of the Dockerfile:

@dhoppe dhoppe closed this as completed Mar 27, 2019
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

No branches or pull requests

2 participants