Open kagarmoe opened 4 years ago
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.
The data collector tutorial changed to use
chef-run
and ~/.chef-workstation/config.toml on the local workstation.Document to use:
on the target node….but for chef-run we put that in