Search code examples
puppet

Puppet array of positive integers


I am new to puppet and trying to understand how Array[Integer[1]] declares an array of positive integers? What does the 1 signify here?


Solution

  • From the puppet documentation page:

    The Array data type [1]

    Parameters [2]

    Array[Integer, 6] means:

    Matches an array containing at least six integers.