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

Uppercase letters in parameter variable names

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.8.1, PUP 4.1.0
    • Fix Version/s: PUP 3.8.2, PUP 4.2.1
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Language 2015-07-08, Language 2015-07-22
    • Release Notes:
      Bug Fix

      Description

      According to https://docs.puppetlabs.com/puppet/4.1/reference/lang_reserved.html#parameters
      uppercase letters are not allowed in parameter names. Reference documentation as far back as at least 2.7 also forbids them.

      Following discussion on IRC,
      Puppet 4 is a lot stricter than puppet 3, and does check variables names, but not if they appear as names of parameters. Apparently, it should, and that it doesn't is a bug.

      UPDATE


      The only validation taking place on parameters is a check that they are are numeric. When improving the checking, it should also be validated that the name does not include '::'.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alexjfisher Alexander Fisher
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support