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:
    • Team:
      Platform Core
    • Sub-team:
    • 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

            jsd-sla-details-panel

              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: