- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: How to use setuped credentials and parameters in ruby script to access with Chef::REST ?
- Date: Fri, 29 Aug 2014 09:14:24 -0700
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
Archive powered by MHonArc 2.6.16.