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

Audit and update puppet acceptance tests that assume the puppet user and group are present

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.0.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-03-18

      Description

      Historically the puppet package has created the puppet user and group, even though it is only required on the master so that it can drop privileges.

      The puppet-agent package will no longer be creating the user/group. However, some of our acceptance tests fail if the user/group doesn't exist.
      This is why the git setup step creates them.

      These following tests fail, but there may be others:

      tests/ticket_4110_puppet_apply_should_not_create_a_user_that_already_exists.rb
      tests/resource/user/should_not_create_existing.rb
      

      In order to get aio tests running, we are adding a setup step, similar to the git one. This ticket is to remove the aio setup step, and verify acceptance tests pass in an agent-only role when the user doesn't exist.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  qa qa
                  Reporter:
                  josh Josh Cooper
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: