Skip to content

Commit

Permalink
Merge pull request #582 from wyardley/misc_style_fixes_rubocop
Browse files Browse the repository at this point in the history
Rubocop fixes: Update hash syntax and some formatting
  • Loading branch information
alexjfisher authored Aug 31, 2017
2 parents 3a8ce9a + 5888be5 commit 762fab7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/puppet/provider/rabbitmq_user_permissions/rabbitmqctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end
end

defaultfor :feature => :posix
defaultfor feature: :posix

# cache users permissions
def self.users(name, vhost)
Expand Down Expand Up @@ -100,8 +100,7 @@ def set_permissions
resource[:write_permission] ||= write_permission
rabbitmqctl('set_permissions', '-p', should_vhost, should_user,
resource[:configure_permission], resource[:write_permission],
resource[:read_permission]
)
resource[:read_permission])
end
end

Expand Down

0 comments on commit 762fab7

Please sign in to comment.