Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.4.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      scientific linux 6.5

    • Template:

      Description

      Given two booleans: $bool1 and $bool2 it would be nice to do:

      ($bool or $bool2)?

      {true=> ..., false => ...}

      ATM this produces an error in the puppet parser. The work around is a clumsy hack, viz:

      foo::bar {'some property':
      value => $bool1?{
      true => $bool2?

      {true=>.....,false => .....}

      false => $bool2?

      {......}

      ,
      },
      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              faye_wm Faye Gibbins
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support