Skip to content

Commit

Permalink
Merge pull request voxpupuli#33 from mcrauwel/fix_default_value
Browse files Browse the repository at this point in the history
proxy_mysql_server needs a default for status in order for the insert to succeed
  • Loading branch information
alexjfisher authored Aug 3, 2017
2 parents 548031b + 4adb93e commit f59bda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/proxy_mysql_server/proxysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f59bda3

Please sign in to comment.