[chef] Re: Re: Re: Re: Re: Re: How to use setuped credentials and parameters in ruby script to access with Chef::REST ?


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: How to use setuped credentials and parameters in ruby script to access with Chef::REST ?
  • Date: Sat, 30 Aug 2014 10:39:39 +0400

Thank you for a tip's.

I know about lastpass. There is another beautiful app for strore passwd.


2014-08-29 20:14 GMT+04:00 Daniel DeLeo < " target="_blank"> >:


On Friday, August 29, 2014 at 12:15 AM, Vladimir Skubriev wrote:

> Thank you for example. As soon as free time I am try to bring this to life.
>
> As I uderstand if i place my code in placeholder, then i don't need to auth with server. The code does this itself.

Knife will locate your config file and evaluate it, so that `Chef::Config[:node_name]` and such are populated with the correct values. `Chef::REST.new` will use this config if you don’t provide specific values as arguments. See: https://github.com/opscode/chef/blob/d1350f296095ff70baafbd4f5fa1e3737a4924d2/lib/chef/rest.rb#L59

>
> What password manager do you use ? I only know keepassx )
We’re using lastpass

--
Daniel DeLeo




--
Faithfully yours,

CVision Lab System Administrator
Vladimir Skubriev




Archive powered by MHonArc 2.6.16.

§