Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2535

Implement to_s on ResolvedFact

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: FACT 4.0.15
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Sub-team:
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      We should implement the to_s method on the ResolvedFact object.
      This will allow usage in strings like so: "#

      {Facter[:my_fact]}

      " without having the need to explicitly call value.

      According to straylen on community puppet-dev this was available in 3.11.6. 
      Details in the conversation.

       

        Attachments

          Activity

            People

            Assignee:
            sebastian.miclea Sebastian Miclea
            Reporter:
            sebastian.miclea Sebastian Miclea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support