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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • PUP 3.6.2
    • None
    • None
    • AIX 5.3
      PE 3.3.2

      • Can set an empty comment field.
    • Agent
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support