[chef] Re: Re: Re: Re: Re: Re: Re: sensu data bag file


Chronological Thread 
  • From: Peter Burkholder < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: sensu data bag file
  • Date: Wed, 5 Nov 2014 18:48:01 -0500

See https://docs.getchef.com/config_rb_solo.html for how to set the data_bag path for chef-solo, and also see the README.md in the sensu-chef cookbook, where it says:

TESTING

This cookbook comes with a Gemfile, Cheffile, and a Vagrantfile for testing and evaluating Sensu.

cd examples
gem install bundler
bundle install
librarian-chef install
vagrant up
vagrant ssh

Hope that helps,

Peter


On Wed, Nov 5, 2014 at 5:36 PM, Julian C. Dunn < " target="_blank"> > wrote:
On Wed, Nov 5, 2014 at 5:29 PM, Anthony Kong < "> > wrote:

> I am using chef-solo from vagrant. I probably should provide this context at
> the beginning.
>
> So in theory I shouldn't need to provide the data bag if I am just using
> chef-solo. Is it right?

It depends how the author wrote the cookbook you're trying to use.
Based on your description, it sounds like they assume you are using
Chef Client (or at least Chef Client in local mode), and if so, you'll
need to provide a data bag.

- Julian

--
[ Julian C. Dunn < "> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]




Archive powered by MHonArc 2.6.16.

§