Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8495

Ubuntu 16.10 _AND NEWER_ use systemd provider as default

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PUP 4.10.10
    • None
    • None
    • Ubuntu

    • Night's Watch
    • Needs Assessment
    • New Feature
    • SystemD is now set as the default provider for Ubuntu 17.04 and 17.10.
    • No Action

    Description

      Puppet Version:
      Puppet Server Version:
      OS Name/Version:

      Detection of systemd fails on Ubuntu releases higher than 16.10

      Desired Behavior:

      disabling/enabling services should work as normal also on Ubuntu 17.04 and up.

      As one can see here:

      https://github.com/puppetlabs/puppet/commit/ef342d4ced9bf7aa0489005119bf80a298d094f2

      Ubuntu is only supported up to 16.10 - why is this hardcoded in like this, instead of saying Ubuntu with releases from 15.04 and up use systemd, while those below use sysc-rc - the problem is now that puppet tries to use sysv-rc on Ubuntu 17.04 and up as well. 

      Actual Behavior:

       

       

      ubuntu1710 ~ # puppet resource service ipmievd enable='false'
      dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>Type dpkg --help for help about installing and deinstalling packages [*];
      Use 'apt' or 'aptitude' for user-friendly package management;
      Type dpkg -Dhelp for a list of dpkg debug flag values;
      Type dpkg --force-help for a list of forcing options;
      Type dpkg-deb --help for help about manipulating *.deb files;Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
      Notice: /Service[ipmievd]/enable: enable changed 'true' to 'false'
      service { 'ipmievd':
         enable => 'true',
      }
      ubuntu1710 ~ # lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 17.10
      Release: 17.10
      Codename: artful
      ubuntu1710 ~ #

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kolla Kolbjørn Barmen
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support