[chef] How to use 'knife data bag create' without chef server?


Chronological Thread 
  • From: Anthony Kong < >
  • To:
  • Subject: [chef] How to use 'knife data bag create' without chef server?
  • Date: Sun, 25 Jan 2015 13:46:25 +1100


Hi, 

I intend to install a sensu receipt (https://github.com/sensu/sensu-chef) via chef-zero and vagrant. 

It requires the creation of a data bag. 

In the README.md of the sensu-chef, it says I can run either

cd examples/ssl
./ssl_certs.sh generate
knife data bag create sensu
or

knife data bag from file sensu ssl.json

However either way it requires a  chef server URL. 

I do not have access to any chef server. How can get around this restriction to create a data bag?

Thanks, Tony





Archive powered by MHonArc 2.6.16.

§