Ask Your Question
0

Getting dependency cycle when using michaeltchapman/galera

asked 2016-07-20 16:54:32 -0500

Red Cricket gravatar image

Hi,

I have installed https://forge.puppet.com/michaeltchapman/galera and I use in this manifest I wrote like so ...

  class { '::galera':
    galera_servers => $galera_servers,
    galera_master  => $galera_master,
    vendor_type    => $vendor_type,
    root_password  => $root_password,
    status_password => $root_password,
  }

When I run puppet agent -t on my node I get this error:

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.

What could be causing this. I assuming my code is so simple that it is not the problem and I also doubt there is a bug in such a widely used module like the galera module. Can anyone help me out?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-20 18:50:09 -0500

DarylW gravatar image

There is an issue on the github page about your problem.

https://github.com/michaeltchapman/pu... .. And I see reading through the chat history, you've already chimed in!

edit flag offensive delete link more

Comments

I just tried the master branch and the dependency cycle error is corrected. Now if I can get my sys admin to fix the yum repo :(

Red Cricket gravatar imageRed Cricket ( 2016-07-22 11:38:38 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-07-20 16:54:32 -0500

Seen: 18 times

Last updated: Jul 20 '16