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

Service with 'hasstatus => false' fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.0.0
    • Fix Version/s: PUP 4.2.0
    • Component/s: Platform
    • Labels:
      None
    • Environment:
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-06-10
    • Release Notes:
      Bug Fix

      Description

      The resource:

      service { 'nullmailer':
          ensure     => running,
          enable     => true,
          hasstatus  => false,
          hasrestart => true,
          require    => Class['nullmailer::config'],
        }
      

      fails with the following error message:

      Error: /Stage[main]/Nullmailer::Service/Service[nullmailer]: Could not evaluate: private method `getpid' called for #<Puppet::Type::Service::ProviderDebian:0x00000004c74f58>
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                olhe Olof Hellqvist
                QA Contact:
                Eric Thompson
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: