Closed adsk-mcnultt closed 3 years ago
This may be similar/related to #63.
I'm unable to reproduce this with latest versions of sensu.
After running kitchen converge default-ubuntu-1804
twice on master I have these files created:
root@dokken:~# ll .config/sensu/sensuctl/
total 16
drwxr-xr-x 2 root root 4096 Oct 25 23:30 ./
drwxr-xr-x 3 root root 4096 Oct 25 23:30 ../
-rw-r--r-- 1 root root 863 Oct 25 23:30 cluster
-rw-r--r-- 1 root root 51 Oct 25 23:30 profile
Closing now as part of issue cleanup, but please re-open with any additional information as needed and I can investigate!
Chef Version
Latest version of the sensu-go-chef cookbook.
Input
Resource declaration in my cookbook
Output
Impact
Subsequent chef runs fail after successfully converging and configuring sensuctl the first time.
Expected Behavior
Chef runs should continue to succeed after sensu_ctl configure action has been called.
Actual Behavior
Sensuctl attempts to reconfigure itself after being initially configured and fails. Removing the "configure" action from the resource results in successful converge.
Steps to Reproduce your problem
Run chef again after configuring sensuctl the first time.