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