-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Puppet 4 directory layout #227
Comments
@gotyaoi would you mind providing a patch for this? |
Ah, yes, I could probably get a PR together. It should probably switch behavior on the puppet version, or do you think there's a better criteria? |
Well so. So at least on fedora/epel native packages we'll have puppet4 using /etc/puppet. |
Hmm. That is... quite awkward. But perhaps it's a thing to say that this module's defaults should follow upstream to a certain extent? |
Two sets of packagers sit between the software and the consumer... this is the kind of problem puppet is meant to solve, not to create. |
This is how I did it in my puppet management module. As a sideline I had to cheat and set those in my spec tests as well. |
@nibalizer Puppetlabs packages the software one way, epel another. Debian could be different again, as could ubuntu, as could gentoo. The fact that these packaging differences are occurring with puppet itself is certainly ironic. Still, we need some defaults, and defaulting to how puppetlabs packages things is the most agreeable path in my mind. |
Can someone confirm that we have a problem with plugin installation in this module and the new Puppet 4 directory structure? The plugins get copied into |
Hello: Is this still needed? |
I had an issue with Puppet 4.10 and CentOS7 while trying to get the puppetrun button to work in foreman. The mco puppet command that is executed for the puppetrun failed when running manually. I ended up symlinking that dir to the /opt/puppetlabs/mcollective/mcollective one and restarted the mcollective service. The mco command now shows those plugins installed now and I can execute 'mco puppet'. I am not sure what the correct default location and correct behavior should be and am only reporting my experience. UPDATE: libdir = /opt/puppetlabs/mcollective:/usr/libexec/mcollective |
do we have a patch yet? |
since puppet 4 relocated things beneath /etc/puppetlabs, there's a few things that this module might be able to do automatically. Off the top of my head:
Not sure if there might be more, but those are the ones that jumped out at me.
The text was updated successfully, but these errors were encountered: