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

Installing gems / puppet-lint may break puppet-enterprise #358

Closed
gl00ten opened this issue Nov 3, 2014 · 5 comments
Closed

Installing gems / puppet-lint may break puppet-enterprise #358

gl00ten opened this issue Nov 3, 2014 · 5 comments

Comments

@gl00ten
Copy link

gl00ten commented Nov 3, 2014

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?

@ghoneycutt
Copy link
Contributor

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.

@jby
Copy link

jby commented Nov 10, 2014

Or, if you really need to run it in combination with puppet agent - run it in a vagrant box.

@gl00ten
Copy link
Author

gl00ten commented Nov 13, 2014

I just use geppetto and mounted folders to format my stuff. That's my workaround.

If this is an accepted thing :
incompatibility between puppet master/enterprise and puppet-lint the same machine you can close this issue.

But please write a warning about it somewhere.

@gl00ten gl00ten closed this as completed Nov 13, 2014
@gl00ten gl00ten reopened this Nov 13, 2014
@rodjek
Copy link
Owner

rodjek commented Jan 25, 2015

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 gem rather than the one provided by your OS (/opt/puppet/bin/gem install puppet-lint)?

@rnelson0
Copy link
Collaborator

@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!

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

5 participants