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

Resource Service Onlyif exist

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Language
    • Labels:
      None
    • Template:

      Description

      It could be useful add to service resource control the metadata "onlyif"

      Maybe something like this

      service { foo:
       ensure => 'stopped',
       onlyif => 'exist'
      }
      

      In this case, only services will be stopped if really exist.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                mcortinas Marc Cortinas Val
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support