From 280593d26c8d665e07753e478b4b469ffd2d0277 Mon Sep 17 00:00:00 2001 From: Dylan Ratcliffe Date: Fri, 27 Apr 2018 16:24:24 +0800 Subject: [PATCH] Fixed reference to `name` when flushing Fixes #15 --- lib/puppet/provider/rbac_role/ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/rbac_role/ruby.rb b/lib/puppet/provider/rbac_role/ruby.rb index 9aebf8c..efc210a 100644 --- a/lib/puppet/provider/rbac_role/ruby.rb +++ b/lib/puppet/provider/rbac_role/ruby.rb @@ -72,7 +72,7 @@ def flush role = { 'id' => @property_hash[:id], 'description' => @property_hash[:description], - 'display_name' => @property_hash[:display_name], + 'display_name' => @property_hash[:name], 'permissions' => @property_hash[:permissions], 'user_ids' => @property_hash[:user_ids], 'group_ids' => @property_hash[:group_ids],