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


Chronological Thread 
  • From: Ivan Suftin < >
  • To: < >
  • Subject: [chef] Re: How to use 'knife data bag create' without chef server?
  • Date: Sat, 24 Jan 2015 20:48:37 -0600

Use the -z flag within a chef repo to use ‘local mode'
__________________________     (╯°□°)╯︵ ┻━┻
 Ivan Suftin - Applications Developer - ">
 Office: (608) 821-3825  - Cell : (608) 345-8963
 Center for Integrated Data Analytics - http://cida.usgs.gov/
 United States Geological Survey 
 8505 Research Way, Middleton, WI 53562 

On Jan 24, 2015, at 8:46 PM, Anthony Kong < "> > wrote:


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.

§