diff --git a/cookbooks/zabbix/recipes/database_mysql.rb b/cookbooks/zabbix/recipes/database_mysql.rb index 90f286f..a958c29 100644 --- a/cookbooks/zabbix/recipes/database_mysql.rb +++ b/cookbooks/zabbix/recipes/database_mysql.rb @@ -126,7 +126,7 @@ username = node.zabbix.api.username first_name = 'Zabbix' last_name = 'Administrator' - md5 = Digest::MD5.hexdigest(node.zabbix.api.password) + md5 = Digest::SHA2.new(512).hexdigest(node.zabbix.api.password) rows = 200 type = 3 grp_name = node.zabbix.api.user_group