From 5888be566c4e35d5e6514bc689dab31dc02bec8c Mon Sep 17 00:00:00 2001 From: William Yardley Date: Wed, 30 Aug 2017 21:05:37 -0700 Subject: [PATCH] Update hash syntax and some formatting --- lib/puppet/provider/rabbitmq_user_permissions/rabbitmqctl.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/puppet/provider/rabbitmq_user_permissions/rabbitmqctl.rb b/lib/puppet/provider/rabbitmq_user_permissions/rabbitmqctl.rb index 5baa51bae..0b34814e4 100644 --- a/lib/puppet/provider/rabbitmq_user_permissions/rabbitmqctl.rb +++ b/lib/puppet/provider/rabbitmq_user_permissions/rabbitmqctl.rb @@ -8,7 +8,7 @@ end end - defaultfor :feature => :posix + defaultfor feature: :posix # cache users permissions def self.users(name, vhost) @@ -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