-
Notifications
You must be signed in to change notification settings - Fork 206
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
Installing gems / puppet-lint may break puppet-enterprise #358
Comments
lint the code where you write it, like your workstation, and where you test it, like travis-ci or jenkins, and not on your enterprise puppet master. |
Or, if you really need to run it in combination with puppet agent - run it in a vagrant box. |
I just use geppetto and mounted folders to format my stuff. That's my workaround. If this is an accepted thing : But please write a warning about it somewhere. |
I haven't used puppet enterprise, so I'm not sure of its particulars but if it vendors its own ruby install, can you install puppet-lint with their version of |
@fullmooninu You should be able to install the gem with the correct vendored binaries. If you have issues, you should open a Puppet support ticket, who can help determine the cause and the fix. If there is a process that would help, please open an issue/PR with the information required to update the README. Thanks! |
I haven't thouroughly tested this out, but it's the second time I'm seeing it.
If you install puppet-lint on your _puppet-enterprise_ machine, or try to install _gem_ so you can install/use the latest version of _puppet-lint_, you'll ruin your puppet-enterprise master machine.
Reason is, I think, puppet enterprise is using it's own gem and ruby environment, and installing gem and ruby stuff will break that.
Since puppet enterprise uses an old version of puppet, I'm not sure if this is valid on normal, more recent puppet installations.
So, to avoid all this mess, and since it's really useful (for me) to have a running puppet master installation where i can quickly and repeatedly edit .pp->
puppet agent -t
stuff, can you consider the suggestion of releasing a binary of puppet-lint?The text was updated successfully, but these errors were encountered: