Skip to content

samifruit514/chef2consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chef2consul: copies chef data struct to consul format (key => val)

To run:

KNIFERB_FILE=<path to knife.rb file> CONSUL_PREFIX=<destination prefix> CONSUL_HOST=<consul server> CONSUL_TOKEN=<consul token> chef2consul <chef node name> <chef attribute>

Un example:

KNIFERB_FILE=~/.chef/knife.rb CONSUL_PREFIX=prefix/path CONSUL_HOST=consul.example.com:8500 CONSUL_TOKEN=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee chef2consul.go chef-node-01.example.com attribute

About

copies chef node data to consul

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages