Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General ordering in proftpd::install creates a dependency loop in catalog #45

Open
cruelsmith opened this issue Aug 28, 2023 · 0 comments

Comments

@cruelsmith
Copy link

cruelsmith commented Aug 28, 2023

The added general ordering via

if $facts['os']['family'] == 'RedHat' {
Yumrepo <| |> -> Package <| |>
}
creates a dependency loop since other modules can require that a package is installed before a specific yumrepo will be created.

Since this module does not at all manages any yumrepo resources there should be no yumrepo ordering inside.

When acceptance tests need that kind of thing please only define it in the acceptance setup like so:

      pp = <<-EOS
      if $facts['os']['family'] == 'RedHat' {
        include epel
        Class['epel'] -> Class['proftpd']
      }
      class { 'proftpd': }
      EOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant