gpt4 book ai didi

mysql - puppetlabs 仪表板模块中已弃用 mysql::server 模块,如何修复?

转载 作者:行者123 更新时间:2023-11-30 00:46:23 25 4
gpt4 key购买 nike

我已经安装了 puppetlabs dashboard module ,但是当我运行时

puppet agent --test

我收到以下错误:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ERROR: This class has been deprecated and the functionality moved into mysql::server. If you run mysql::server without correctly calling mysql:: server with the new override_options hash syntax you will revert your MySQL to the stock settings. Do not proceed without removing this class and using mysql::server correctly.

If you are brave you may set attempt_compatibility_mode in this class which
attempts to automap the previous settings to appropriate calls to
mysql::server at /etc/puppetlabs/puppet/modules/mysql/manifests/init.pp:89

我尝试根据 this 修复它答案,但老实说我不知道​​如何应用答案。

最佳答案

实际上,使用该模块的新版本,您需要实例化 mysql::servermysql::client 而不再是 mysql

您可以将 mysql 中的声明替换为 mysql::server(不要忘记检查参数名称是否已更改)。

希望这有帮助。

关于mysql - puppetlabs 仪表板模块中已弃用 mysql::server 模块,如何修复?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21327567/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com