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

Ubuntu 16.10 _AND NEWER_ use systemd provider as default


    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 4.10.10
    • Fix Version/s: PUP 5.5.z
    • Component/s: None
    • Environment:


    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Method Found:
      Needs Assessment
    • Release Notes:
      New Feature
    • Release Notes Summary:
      SystemD is now set as the default provider for Ubuntu 17.04 and 17.10.
    • QA Risk Assessment:
      No Action


      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:


      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 ~ #




          Issue Links



              • Assignee:
                kolla Kolbjørn Barmen
              • Votes:
                0 Vote for this issue
                8 Start watching this issue


                • Created:

                  Zendesk Support