1
這是我的清單:錯誤有關棄用MySQL的木偶不斷出現了
class capstone() {
include apache
include mysql
class {'apache::vhost':
port => 80,
docroot => '/var/www/wordpress',
}
include 'apache::mod::php'
class {'mysql::server' :
root_password => 'foo',
override_options => {
'mysqld' => { 'max_connections' => '1024' },
}
}
class {'mysql::bindings' :
php_enable => true
}
}
我模塊/頂點/艙單/ init.pp寫這
內部模塊,我有stdlib
,apache
,concat
,capstone
,mysql
,wordpress
,除capstone
以外全部下載。
我的錯誤是:
Error: 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 /root/radiant/modules/mysql/manifests/init.pp:89 on node kim.puppetlabs.vm
Error: 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 w
我身邊有GOOGLE上搜索,並遵循了其他環節的建議,但我仍然得到同樣的錯誤。不知道我在哪裏做錯了。
請指教。
感謝你爲這個回答!我也使用舊版本的模塊在我的設置中包含了「包含mysql」,並且一旦我更新,它就會導致與此問題相同的破壞。不幸的是,模塊回購自述文件沒有幫助。 – Legion
歡迎,@Legion。隨時upvote我的問題以及。 –