[chef] How to configure this cookbook (sensu/uchiwa)?

Chronological Thread 
  • From: Anthony Kong < >
  • To:
  • Subject: [chef] How to configure this cookbook (sensu/uchiwa)?
  • Date: Sat, 31 Jan 2015 15:50:51 +1100

Hi all, 

From what I can see, the default values of this cookbook is defined here: https://github.com/sensu/uchiwa-chef/blob/master/attributes/default.rb

I want to know what is the easiest way to set these settings? I basically just want to override the login and password, so I am redundant to create a cookbook just for it (But of course if it is the only way I am happy to do it) .

Can I specify these properies via a databag? I read the default file and it does not look like it uses any data bag.

My ideal solution is to be able to set the login and password in the Vagrant file via chef-zero. e.g.

add_recipe 'uchiwa'
uchiwa.login = 'admin'
uchiwa.password = 'password'

I am sorry for throwing this question to the list but there is not much info in uchiwa-chef project and I am really new to the chef technology

Thanks, Tony

Archive powered by MHonArc 2.6.16.