-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
administrator/admin and tag related fixes
While working with this puppet module, I observed a few glitches: - setting admin to true and tags to an empty list, a puppet run would either attempt to set the user tags to an empty list, or adding the adminstrator tag again. Therefore, do not expose the administrator tag through tags if admin is true. Further, do not allow setting the administrator explicitly in tags. - providing tags that are not sorted to rabbitmq::user would make puppet try to apply the non sorted list over and over again. Also, default to the empty array for tags. This will remove existing tags from users if they weren't set through puppet. - provide nicer output when changing tags using tags.join(' ,')
- Loading branch information
Arne Welzel
committed
Feb 8, 2015
1 parent
654f343
commit ad3e93e
Showing
4 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters