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

puppet type schedule: weekday parameters: should accept integers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.8.0, PUP 4.9.2
    • Fix Version/s: PUP 5.3.4
    • Component/s: Docs, Types and Providers
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      Bring document in line with code or vice-versa.

      Show
      Bring document in line with code or vice-versa.
    • Sub-team:
    • Team:
      Platform Core
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      When setting the day of the week with the schedule type, a string had to be given. Even if you wanted to represent the day with a number, it had to be contained within quotes to work. Now it accepts an integer representation of the day in addition to a string or array.
      Show
      When setting the day of the week with the schedule type, a string had to be given. Even if you wanted to represent the day with a number, it had to be contained within quotes to work. Now it accepts an integer representation of the day in addition to a string or array.
    • QA Risk Assessment:
      No Action

      Description

      See https://github.com/puppetlabs/puppet/blame/master/lib/puppet/type/schedule.rb#L373

      Documentation says numbers may be used for day-of-week, but code clearly expects strings.

        Attachments

          Activity

            People

            • Assignee:
              jorie Jorie Tappa
              Reporter:
              otheus otheus
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support