Remove unused user resource.
authorSofer Athlan-Guyot <chem@sathlan.org>
Fri, 18 Mar 2016 10:56:55 +0000 (11:56 +0100)
committerSofer Athlan-Guyot <chem@sathlan.org>
Mon, 21 Mar 2016 11:53:45 +0000 (12:53 +0100)
The user is created by installation of of the pacemaker package, so it's
not required to add it to the resource catalog.

This paves the way to merge the refeactoring of the puppet-pacemaker
module[1].  It brings a lot of changes, one of them is an idempotent
handling of the hacluster user's password.  Removing it here prevents
duplicate resource error durring puppet run.

[1] https://review.openstack.org/#/c/294182/

Change-Id: I56849d9fc00bd3ce342d5c440cfe7c5b6d26b5bf

puppet/manifests/overcloud_controller_pacemaker.pp

index db3d865..33338f2 100644 (file)
@@ -68,9 +68,6 @@ if hiera('step') >= 1 {
   } else {
     $cluster_setup_extras = {}
   }
-  user { 'hacluster':
-    ensure => present,
-  } ->
   class { '::pacemaker':
     hacluster_pwd => hiera('hacluster_pwd'),
   } ->