Is your feature request related to a problem?
Not related to a problem, could be related to best practices.
Describe the solution you'd like
Currently the user and group are created as "normal" non-system. I would like to have them created as system-user and system-group with no home-dir or have the option to do so in the pillar ... only if there is a good reason not to do so.
general_config.sls
openvpn_group:
group.present:
- name: {{ map.group }}
- system: true
- require_in:
- file: openvpn_config_dir
- sls: openvpn.config
{%- endif %}
{%- if not (map.manage_user is sameas false or map.user == 'nobody') %}
openvpn_user:
user.present:
- name: {{ map.user }}
- home: "/nonexistent"
- createhome: false
- system: true
- gid: {{ map.group }}
{%- if manage_group %}
- require:
- group: openvpn_group
{%- endif %}
- require_in:
- file: openvpn_config_dir
- sls: openvpn.config
{%- endif %}
Describe alternatives you've considered
I can make the changes in my own fork, but in general thats not realy handy.
Additional context
I currently do not have much time to create a pull-request myself unfortunately. But if no one picks this up, I'll see what I can do later.
Is your feature request related to a problem?
Not related to a problem, could be related to best practices.
Describe the solution you'd like
Currently the user and group are created as "normal" non-system. I would like to have them created as system-user and system-group with no home-dir or have the option to do so in the pillar ... only if there is a good reason not to do so.
general_config.sls
Describe alternatives you've considered
I can make the changes in my own fork, but in general thats not realy handy.
Additional context
I currently do not have much time to create a pull-request myself unfortunately. But if no one picks this up, I'll see what I can do later.