diff --git a/resources/providers/config.rb b/resources/providers/config.rb index ef70c2f..dd33590 100644 --- a/resources/providers/config.rb +++ b/resources/providers/config.rb @@ -253,7 +253,7 @@ action :nothing end.run_action(:run) - node.set["freeradius"]["registered"] = true + node.default["freeradius"]["registered"] = true end Chef::Log.info("freeradius service has been registered in consul") rescue => e @@ -269,7 +269,7 @@ action :nothing end.run_action(:run) - node.set["freeradius"]["registered"] = false + node.default["freeradius"]["registered"] = false end Chef::Log.info("freeradius service has been deregistered from consul") rescue => e