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

Puppet Accepts an Empty Array for the "returns" Attribute of the "exec" Type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Do
    • None
    • None
    • None
    • Firefox
    • Monolithic
    • CentOS 6
    • PE 3.3.1 Gold
    • Coremunity

    Description

      Description

      If a user provides an empty array for the "returns" attribute of the "exec" Puppet reference type Puppet fails to reject the value.

      Attachments

      • Manifest

      Repro Steps

      1. Install PE on master.
      2. Verify master is operational.
      3. Register agent with the master.
      4. Add node definition for the attached manifest.
      5. On the agent execute the following command:

        puppet agent -t

      Expect

      Puppet should reject the value for "returns".

      Actual

      Puppet completes the catalog without error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ryan.gard Ryan Gard
            Ryan Gard Ryan Gard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support