Uploaded image for project: 'Puppet Enterprise (moved to puppet.atlassian.net)'
  1. Puppet Enterprise (moved to puppet.atlassian.net)
  2. ENTERPRISE-155

Attributes attribute will not accept a single value for the User resource in AIX

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PE 3.2.2
    • None
    • None
    • None
    • Monolithic
    • RHEL 6 (x86_64)

    Description

      This seems to be a bug specific to AIX. When you pass a single value within the attributes array in a User resource:

      user { 'existinguser':
        ensure     => present,
        attributes => ['rlogin=false'],
        home       => '/home/existinguser',
      }  
      

      It throws the following error upon applying the change:

      “Error: /User[root]: Could not evaluate: undefined methodmap' for "rlogin=false":String”`
      

      The only workaround I have managed is to add another value to the attributes array.

      Attachments

        Issue Links

          Activity

            People

              kylo Kylo Ginsberg
              jay Jay Wallace
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support