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