You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The users-formula:lookup allows only a limited, predefined set of default values for users. This makes writing user pillar data very tedious, when one wants to apply the same defaults over several dozen entries.
I.e. setting the default primary group to an already defined group requires one to add to each user definition a block like this:
Also, same goes for sudo_defaults, homedir-permissions etc.
Describe the solution you'd like
users-formula:lookup should, on execution, be merged into each separate user-definition so that one can supply global defaults via the lookup-key while stil allowing to deviate on a case-per-case basis.
Describe alternatives you've considered
Repeating the same statements all over the pillar, very tedious and error-prone.
Additional context
I have tried to use defaults.update() to enrich pillar.users but had no luck due to type confusions.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
The users-formula:lookup allows only a limited, predefined set of default values for users. This makes writing user pillar data very tedious, when one wants to apply the same defaults over several dozen entries.
I.e. setting the default primary group to an already defined group requires one to add to each user definition a block like this:
Also, same goes for sudo_defaults, homedir-permissions etc.
Describe the solution you'd like
users-formula:lookup
should, on execution, be merged into each separate user-definition so that one can supply global defaults via the lookup-key while stil allowing to deviate on a case-per-case basis.Describe alternatives you've considered
Repeating the same statements all over the pillar, very tedious and error-prone.
Additional context
I have tried to use defaults.update() to enrich
pillar.users
but had no luck due to type confusions.The text was updated successfully, but these errors were encountered: