Git Product home page Git Product logo

Comments (7)

luxflux avatar luxflux commented on July 20, 2024

Which facts do you suggest to use instead of $::lsbdistid and $::lsbdistrelease? Which ones are available?

from puppet-openvpn.

x-drum avatar x-drum commented on July 20, 2024

A combination of $::operatingsystem and $::operatingsystemrelease would be possible in that situation,
for example:

[..]
'Debian': { # Debian/Ubuntu
      case $::operatingsystem {
        'Debian': {
          # Version > 8.0.0, jessie
          if(versioncmp($operatingsystemrelease, '8.0') >= 0) {
[..]

from puppet-openvpn.

luxflux avatar luxflux commented on July 20, 2024

I added this now in a branch called amazon-wheezy-small-support and opened a pull request #134. Could you test it?

from puppet-openvpn.

peterbeck avatar peterbeck commented on July 20, 2024

by the way: shouldn't it be "8.0" instead of "8.0.0" in the Debian Jessie section ?

if(versioncmp($::lsbdistrelease, '8.0') >= 0) {

I had to change to 8.0 as there is no 8.0.x available yet and then puppet used the Wheezy section...

facter |grep lsbdistrelease
lsbdistrelease => 8.0

from puppet-openvpn.

luxflux avatar luxflux commented on July 20, 2024

Thanks @peterbeck, I updated the branch. Do you mind checking it again?

from puppet-openvpn.

peterbeck avatar peterbeck commented on July 20, 2024

Hi @luxflux - just tried the branch and it seems to work as expected. Thanks !

from puppet-openvpn.

luxflux avatar luxflux commented on July 20, 2024

Thanks for testing @peterbeck, I need to resolve #44 first before merging.

from puppet-openvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.