Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCUMENT-1288

Boolean data type can take a parameter, but docs say it accepts no parameters

    XMLWordPrintable

Details

    • 1
    • 2022.07.26-08.23 (TechPubs)
    • Needs Assessment

    Description

      https://puppet.com/docs/puppet/7/lang_data_boolean.html says "accepts no parameters". But the Boolean type actually accepts a parameter of either true or false, e.g. Boolean[true] $b, which restricts the accepted data to the value given as a parameter.

      Attachments

        Activity

          People

            april.murphy April Murphy
            kenyon Kenyon Ralph
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support