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

Add support for puppet 3.7 (puppetserver) #46

Closed
mlehner616 opened this issue Jan 14, 2015 · 4 comments
Closed

Add support for puppet 3.7 (puppetserver) #46

mlehner616 opened this issue Jan 14, 2015 · 4 comments

Comments

@mlehner616
Copy link

This module doesn't install the hiera-eyaml gem correctly on the new-ish puppet 3.7. This requires us to manually run the following command or work around it with an exec resource.

puppetserver gem install hiera-eyaml

@igalic
Copy link
Contributor

igalic commented Jan 27, 2015

is there a specific check we can do to see if we're dealing with puppetserver?

@elyscape
Copy link
Contributor

Not directly, but you can cheat and fall back to Ruby to tell you, like so:

$on_puppetserver = (inline_template('<%= RUBY_PLATFORM =>') == 'java')

@elyscape
Copy link
Contributor

Also note that, while there is a rubyplatform fact, you cannot use it for this as it returns the Ruby platform that Facter and the Puppet agent run on. This does not necessarily match what the Puppet master runs on.

@hunner
Copy link
Member

hunner commented Mar 6, 2015

#45 and #58 essentially try to solve this, but not perfectly. I'm going to close the issue in preference for an actual PR.

@hunner hunner closed this as completed Mar 6, 2015
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

4 participants