From f78c13daf1d4f32dc849fd48764f4bae13463985 Mon Sep 17 00:00:00 2001 From: Matthias Crauwels Date: Fri, 23 Jun 2017 13:07:31 +0200 Subject: [PATCH] this value needs a default in order for the insert to succeeed... --- lib/puppet/provider/proxy_mysql_server/proxysql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/proxy_mysql_server/proxysql.rb b/lib/puppet/provider/proxy_mysql_server/proxysql.rb index d16887ee..7e022e1a 100644 --- a/lib/puppet/provider/proxy_mysql_server/proxysql.rb +++ b/lib/puppet/provider/proxy_mysql_server/proxysql.rb @@ -58,7 +58,7 @@ def create hostname = @resource.value(:hostname) port = @resource.value(:port) || 3306 hostgroup_id = @resource.value(:hostgroup_id) || 0 - status = @resource.value(:status) + status = @resource.value(:status) || 'ONLINE' weight = @resource.value(:weight) || 1 compression = @resource.value(:compression) || 0 max_connections = @resource.value(:max_connections) || 1000