chef-web-docs icon indicating copy to clipboard operation
chef-web-docs copied to clipboard

Document using Data Collector as scheduled/ongoing task.

Open kagarmoe opened this issue 5 years ago • 1 comments

The data collector tutorial changed to use chef-run and ~/.chef-workstation/config.toml on the local workstation.

Document to use:

[data_collector]
url="https://54.89.218.145/data-collector/v0/"
token="g7iyI5wfaGx0W1xgM3RwWGaB6BY="

on the target node….but for chef-run we put that in

kagarmoe avatar Apr 27 '20 16:04 kagarmoe

I was reworking the Audit Cookbook module in the Automate Compliance course and I decided to use chef-run instead of setting up chef server etc…chef-run require this - [data_collector] url="https://54.89.218.145/data-collector/v0/" token="g7iyI5wfaGx0W1xgM3RwWGaB6BY=" to be set on the workstation at ~/.chef-workstation/config.toml but…when we run audit cookbook as a scheduled task, it seems that info must go into /etc/chef/client.rb on the audit cookbook node….

So I might be trying to teach the wrong pattern.

SteveDelFante avatar Apr 27 '20 17:04 SteveDelFante