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

class containment #367

Closed
jhoblitt opened this issue Nov 1, 2023 · 1 comment
Closed

class containment #367

jhoblitt opened this issue Nov 1, 2023 · 1 comment

Comments

@jhoblitt
Copy link
Contributor

jhoblitt commented Nov 1, 2023

I would like to be able to order my catalog such that some resources are applied only after the ssh/sshd config is converged. However, Class[ssh] -> Class[foo] doesn't work as expected as there is no containment for the various sub-classes in the module.

Class[ssh::client::config] -> Class[foo]
Class[ssh::server::config] -> Class[foo]

Would probably work but both of the ::config classes are labeled as api private. There should be public class(es) in the module that can be used for ordering.

@saz
Copy link
Owner

saz commented May 23, 2024

I guess, replacing some include ssh::some_class by contain ssh::some_class should resolve this. 🤔

I'll create a PR asap.

saz added a commit that referenced this issue May 24, 2024
@saz saz closed this as completed in b9a6675 May 24, 2024
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

2 participants