[chef] Re: Databags


Chronological Thread 
  • From: Toby Johnson < >
  • To:
  • Subject: [chef] Re: Databags
  • Date: Tue, 18 Feb 2014 21:10:28 -0500

Anna, have you tried contacting the knife-vsphere developers directly? It looks like a separate project from the main Chef project.

I could be way off base but my understanding of data bags is that you (can) use knife to create/modify them or search for values in them but you don't typically use them as *inputs* to knife. Using an encrypted data bag for running knife commands doesn't seem like a big benefit, because you would need to decrypt them locally anyway.


On Sun, Feb 16, 2014 at 10:37 AM, Anna Redding < " target="_blank"> > wrote:
All

So I'm automating the 'knife vsphere vm clone ...'  so it will loop through unlimited quantities of hosts

I'm pretty sure I can use an encrypted databag to pass the vspass and the ssh_pass values, correct?  I've not been successful with following the databag instructions, so would someone please be so kind as to explain to me the steps to go through as though I were in kindergarten.

Much appreciated
Anna




Sent from my iPhone




Archive powered by MHonArc 2.6.16.

§