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

puppet resource user --to_yaml produces invalid yaml on solaris

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Needs 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support