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

Expiry dates must be YYYY-MM-DD or the string "absent"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: PUP 3.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Red Hat Enterprise Linux Server release 5.10 (Tikanga)

    • Template:

      Description

      I have written the following manifest to create temporary users.

      class extern {
       notify {"$ExpireDate":}
       
      user { 'test':
        ensure           => 'present',
        comment          => 'Temp user',
        expiry           => '$ExpireDate',
        home             => '/home/test',
        password         => '!!',
        password_max_age => '99999',
        password_min_age => '0',
        shell            => '/bin/bash',
        uid              => '999',
      }
      }
      

      It doesn't matter what I put in as variable in the PE console, I get error written in the discription

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              DwightG Dwight Gravenbeek
              QA Contact:
              Eric Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified