sensu / sensu-go-chef

Chef Library Cookbook for Sensu Go
https://sensu.io
MIT License
11 stars 22 forks source link

Add sensuctl test for windows platform #68

Open webframp opened 4 years ago

webframp commented 4 years ago

As discussed in https://github.com/sensu/sensu-go-chef/pull/59#issuecomment-544533567 appveyor has limitations for testing windows sensuctl.

We’d like to improve this.

webframp commented 3 years ago

Investigated this further, based on https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers#about-service-containers it's not currently possible at the moment.

derekgroh commented 3 years ago

Once the github action is resolved, the following resource block can be used to test sensuctl against SensuGo's demo instance

sensu_ctl 'default' do
  action [:install, :configure]
  username 'guest'
  password 'i<3sensu'
  backend_url 'https://caviar.tf.sensu.io:8080/'
end

The test command will need to be changed from sensuctl user list to sensuctl entity list