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

Systemd provider is not correctly selected on Alpine Linux

    XMLWordPrintable

Details

    • Night's Watch
    • 2
    • NW - 2019-10-30, NW - 2019-11-13
    • Needs Assessment
    • Bug Fix
    • Hide
      Fixed an edge-case issues that could occur when running puppet on distributions that do not have a default service provider. Puppet might try to evaluate runit and set defpath default before verifying that runit is suitable. Raising an error when setting defpath resulted in a state that should not be reached.
      Show
      Fixed an edge-case issues that could occur when running puppet on distributions that do not have a default service provider. Puppet might try to evaluate runit and set defpath default before verifying that runit is suitable. Raising an error when setting defpath resulted in a state that should not be reached.
    • Needs Assessment

    Description

      Puppet Version: 6.8.0 - 6.10.0

      Running unit tests (i.e pdk test unit) on Alpine Linux with puppet agents >= 6.8.0 fails:

       

      pdk (INFO): Using Ruby 2.4.6
      pdk (INFO): Using Puppet 6.8.0
      Run options: exclude {:bolt=>true}
       Evaluated 83 tests in 30.530483644 seconds: 1 failures, 0 pending.
      failed: rspec: ./spec/classes/common_spec.rb:9: Could not find the daemon directory (tested [/etc/sv,/var/lib/service])
       common should contain class: Ubuntu on ubuntu-18.04-x86_64 is expected to compile into a catalogue without dependency cycles
       Failure/Error:
       let(:facts) { os_facts }
      it { is_expected.to compile.with_all_deps }
       end
      

       

      This seems to be related to changes in:

      https://tickets.puppetlabs.com/browse/PUP-7312
      https://tickets.puppetlabs.com/browse/PUP-10016

      Attachments

        Activity

          People

            gheorghe.popescu Gheorghe Popescu
            wolbi Tomasz Wolbach
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support