-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Move the gem provider logic from puppet-hiera to extlib #63
Comments
we've this logic block copy'n pasted into several modules. we should place it here and make a fact out of it? |
Can this become a custom function rather than a fact? I'd like to avoid more Ruby code on each and every agent in favor of centralized logic on the master. |
I don't think so, because it needs to be evaluated on the agent, not the master. |
As far as I can tell, all that's needed from the agent are facts like |
This seems old and as its talking about the |
I'm working on voxpupuli/puppet-network#168, which requires using the gem provider. As @bastelfreak pointed out, there are more than one gem providers and the correct one needs to be selected. This is already implemented in puppet-hiera:
https://github.com/voxpupuli/puppet-hiera/blob/master/manifests/params.pp
I wouldn't like to just copy this into puppet-network, plus it might be needed again in the future in another module.
So, would it be possible to move it from puppet-hiera to extlib? Is it the right place to move it to or is there a better one instead?
The text was updated successfully, but these errors were encountered: