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

cron: users_allow -> overwrite in module manifest (without hiera) #58

Open
linuxmail opened this issue Aug 24, 2018 · 0 comments
Open
Labels

Comments

@linuxmail
Copy link

linuxmail commented Aug 24, 2018

Hello,

we have a classical module with a manifest and I try to add a user for users_allow, but I have a bit trouble to get it working, without hiera (role.yaml).

In our base class, we call the cron class with some defaults, like manage allow/deny. In our common.yaml, I added the user root, for allowed crons, but now I want to add it also to our module, like:

   class cron::users_allow inherits cron {
      class { cron: users_allow => ['egg'] }
   }

but, it won't work. It adds only the user "root" from the common.yaml and that's it. I don't want to add it to the role, because this option fits better to our module.

Any suggestions, what I have done wrong ?

cu denny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants