>
> One of the packages is responsible for configuring systems to allow
> certain users ssh access.
> a file '/etc/custom_txt_file' manually created on system with contents of:
> ' a tag'
>
> puppet reads that tag and if it finds match it adds certain AD group to
> /etc/pam_allowed_groups as well as /etc/sudoers
>
> It is all written in custom code and does not want to play with puppet 4
>
> I am wandering if there are better ways to achieve same functionality
> using hiera or an existing module if there is one like that.
>
> Any suggestions and help would be appreciated.
>
> Thank you
>
>
>
I would use the role/profiles pattern and add a role level in the hiera
hiearchy and add the config-data within the role level and not depend on
manually created files on the target system.
- Thomas
http://www.craigdunn.org/2012/05/239/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/af876ecb-f70c-41cb-b1dd-19e77e1e99da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.