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

package conflict with default packages #56

Open
dadez73 opened this issue Sep 27, 2024 · 0 comments
Open

package conflict with default packages #56

dadez73 opened this issue Sep 27, 2024 · 0 comments

Comments

@dadez73
Copy link

dadez73 commented Sep 27, 2024

Hi,
i was wondering if didn't make sense to add a check if packages resources are aready declared in other modules or config adding in the install.pp manifest
i tought something like this...
if $samba::package_manage {
if ! defined(Package[ $samba::packages[server]]) {
package { $samba::packages[server]:
ensure => $samba::package_ensure,
}
}
if ! defined(Package[$samba::packages[utils]]) {
package { $samba::packages[utils]:
ensure => $samba::package_ensure,
}
}
}

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