Hi everyone,
I try to create a cookbook to bootstrap a bunch of new clients.
My idea is that I could use a linux node with ChefDK to bootstap new clients via knife.
All Hostnames will be stored in a DataBag.
I created a DataBag called ‘Hostnames’ with 2 Items ‘Windows’ and ‘Linux’ and I add the following JSON code for each system:
{
“hostname”:“Systemname”{
“fqdn”:“Systemname.domain”,
“ip”:“xxx.xxx.xxx.xxx”,
“user”:“Administrator”,
“password”:“xxxxxxx”}
…
}
Is this a way to do this?
How can I get access to this Sublayer in the Databag?