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

AIX user provider changes gecos field on every run if comment is ''

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      AIX 5.3
      PE 3.3.2

    • Template:
    • Acceptance Criteria:
      • Can set an empty comment field.
    • Team:
      Agent
    • Story Points:
      3

      Description

      if you define the following test class

      user

      { 'aixtest': comment => '', }

      puppet is going to change the geocs (comment) field on every run, executing `chuser gecos= aixtest`.
      this happens because

      lsuser -c aixtest

      does not include the gecos field if it is empty. just change the class to

      user

      { 'aixtest': comment => 'aixtest', }

      and it only gets changed once, as `lsuser -c aixtest` now reports the gecos field.

      thanks
      toni

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              redmine.exporter redmine.exporter
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support