我已经安装了https://forge.puppet.com/michaeltchapman/galera,我在这个清单中使用了我写的这样......
p.then(function(value) {
// fulfillment
console.log(value + ' is now available and passable via function argument');
}, function(reason) {
// rejection
});
当我在我的节点上运行puppet agent -t时,我收到此错误:
class { '::galera':
galera_servers => $galera_servers,
galera_master => $galera_master,
vendor_type => $vendor_type,
root_password => $root_password,
status_password => $root_password,
}
造成这种情况的原因。我假设我的代码非常简单,这不是问题,我也怀疑像galera模块这样广泛使用的模块中存在一个错误。任何人都可以帮助我吗?
以下是安装的内容:
Error: Could not apply complete catalog: Found 1 dependency cycle:
(Anchor[mysql::server::start] => Package[rsync] => Class[Mysql::Server::Install] => Package[mysql-server] => Class[Mysql::Server::Install] => File[/var/run/mariadb] => Class[Galera::Repo] => Class[Mysql::Server] => Anchor[mysql::server::start])
Cycle graph written to /var/opt/lib/pe-puppet/state/graphs/cycles.dot.
由于
答案 0 :(得分:0)
我刚刚尝试了主分支,并且纠正了依赖循环错误。