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

Make convert_to() function accept additional arguments

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: Docs, Functions, Type System
    • Labels:
      None
    • Template:
    • Sub-team:
    • Team:
      Platform Core
    • Release Notes:
      New Feature
    • Release Notes Summary:
      convert_to() function now accepts additional arguments where earlier it only accepted the data type to convert to.
    • QA Risk Assessment:
      Needs Assessment

      Description

      When using the convert_to function it would be nice to allow it to take additional arguments to enable things like $var.convert_to(String, $string_formats).

        Attachments

          Activity

            People

            • Assignee:
              thomas.hallgren Thomas Hallgren
              Reporter:
              henrik.lindberg Henrik Lindberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support