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

updated native types and providers to use base_path/config when puppet i... #176

Merged
merged 1 commit into from
May 1, 2014

Conversation

logicminds
Copy link
Contributor

Currently this module is written for puppet with the root user in mind as are most modules. For folks like me where we don't have root control we need a way to tell puppet where the files are since this module hard codes the path by default. I have added a base path parameter that allows one to override the default location of the config file for all native types. Additionally, the parameter defaults to the originally hard coded value so that this parameter is purely optional.

This is part 1 of what needs to be changed, since this sets defaults for base_path we can add this ability now and work on the manifests to be nonroot compliant later.

I already have a completely finished non root module working but need to generalize most of the variable names in order to make them consumable by everyone. So there will be a part two that updates the manifests to be non root friendly.

…t is run under nonroot user

  * this is needed because if sensu is run with a nonroot user
    the config files cannot be used as they are owned by root
    thus puppet cannot conigure what it does not have access to.

  * This is part 1 of what needs to be changed, since this sets
    defaults for base_path we can add this ability now and work
    on the manifests to be nonroot compliant later.
@jlambert121
Copy link
Contributor

@jamtur01 thoughts?

@jamtur01
Copy link
Contributor

I am on the fence about this. I don't have the use case but I can see why others might. I am happy if you are happy @jlambert121

jlambert121 added a commit that referenced this pull request May 1, 2014
updated native types and providers to use base_path/config when puppet i...
@jlambert121 jlambert121 merged commit c6f0126 into sensu:master May 1, 2014
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