It should use the sensu user and group specified in the attributes instead.
Current Behavior
Current behavior is creating sensu local user accounts regardless of what accounts we are specifying in the attribute overrides.
Possible Solution
Use Attributes instead of hard coded
Also add support for built-in accounts.
Steps to Reproduce (for bugs)
Override default['sensu']['user'] with something other than "sensu"
kitchen converge for a windows platform
Confirm that Sensu local account is created
Context
Creating additional unused user accounts is unnecessary and a security concern. Additionally the code doesn't honor the attribute values in the event you wanted to use something other than sensu.
Your Environment
Version of this cookbook used: 3.0
Version of Sensu used: 26.3-1
Version of Chef used: 12.16.42
Operating System and version (e.g. CentOS 7, Ubuntu 14.04): Windows
Expected Behavior
It should use the sensu user and group specified in the attributes instead.
Current Behavior
Current behavior is creating sensu local user accounts regardless of what accounts we are specifying in the attribute overrides.
Possible Solution
Steps to Reproduce (for bugs)
Context
Creating additional unused user accounts is unnecessary and a security concern. Additionally the code doesn't honor the attribute values in the event you wanted to use something other than sensu.
Your Environment