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

Update jira::facts to check for Puppet AIO agent #321

Merged
merged 3 commits into from
Jun 17, 2020

Conversation

dpisano
Copy link
Contributor

@dpisano dpisano commented May 30, 2020

Pull Request (PR) description

Updates jira::facts to check for the OSS version of the Puppet AIO agent. If the OSS Puppet AIO agent is installed it will set facts.rb to use the version of ruby that comes with the AIO agent.

This Pull Request (PR) fixes the following issues

Fixes #151

manifests/facts.pp Outdated Show resolved Hide resolved
Comment on lines 32 to 34
if $facts['puppetversion'] =~ /Puppet Enterprise/ {
$ruby_bin = '/opt/puppet/bin/ruby'
$dir = 'puppetlabs/'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this part is redundant now, assuming the other comment is correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have Puppet Enterprise to be able to test it to know for sure.

@bastelfreak bastelfreak merged commit 4d621d1 into voxpupuli:master Jun 17, 2020
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

Successfully merging this pull request may close these issues.

jira::facts don't work with All-in-One Puppet 4.x agent
3 participants