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

Recent OpenBSD changed to ruby22 as default interpreter, that now #358

Merged
merged 1 commit into from
Jul 29, 2015
Merged

Recent OpenBSD changed to ruby22 as default interpreter, that now #358

merged 1 commit into from
Jul 29, 2015

Conversation

buzzdeee
Copy link
Contributor

is also used by Puppet, so adapt to that.

Tested on OpenBSD 5.8-beta, and 5.7-snapshot.

Using ::kernelversion instead of ::operatingsystemrelease, because
::operatingsystemrelease can be 5.7, 5.8, 5.7-snapshot, 5.8-beta etc.

Note that it was myself that introduced the /usr/local/bin/ruby21 interpreter in the module here with OpenBSD 5.7 a few month ago. Since it's there untouched, I doubt anyone is using it with older versions of OpenBSD, and therefore I don't think its worth caring about them.

Let me know if I can change/enhance anything, otherwise, pleae consider for merge.

cheers,
Sebastian

is also used by Puppet, so adapt to that.

Tested on OpenBSD 5.8-beta, and 5.7-snapshot.

Using kernelversion instead of operatingsystemrelease, because
operatingsystemrelease can be 5.7, 5.8, 5.7-snapshot, 5.8-beta etc.
jhoblitt pushed a commit that referenced this pull request Jul 29, 2015
Recent OpenBSD changed to ruby22 as default interpreter, that now
@jhoblitt jhoblitt merged commit ac28069 into puppetlabs:master Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants