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

puppet resource user --to_yaml produces invalid yaml on solaris

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 2016.4.7
      Puppet Server Version: 2016.4.7
      OS Name/Version: Solaris 11

      puppet resource user --to_yaml produces invalid yaml when user keys are set:

      users:
        user:
          ensure: 'present'
          keys: {'lock_after_retries' => 'no'} 

      Desired Behavior:

      --to_yaml should produce valid yaml syntax

      Actual Behavior:

       

      yaml is invalid (according to yaml-lint and YAML.load

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              malfke Martin Alfke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support