- From: Jeff Storey <
>
- To:
- Subject: [chef] Re: Re: knife bootstrap not finding validation.pem
- Date: Mon, 29 Oct 2012 11:40:51 -0400
That seems to work, but in the client key file I have
~/.chef/myuser.pem. I wonder why it would work in one case but not
the other.
On 10/29/2012 11:38 AM, Ranjib Dey
wrote:
"
type="cite">try
"#{ENV['HOME']}/.chef/validation.pem"
i guess ~ is only understood by shell, not by ruby
On Mon, Oct 29, 2012 at 8:44 PM, <
" target="_blank">
>
wrote:
I'm trying
to use knife to bootstrap a client, and in my knife.rb file,
the
validation.pem path is listed as ~/.chef/validation.pem,
When I run the
bootstrap process, I get a message indicating that
validation.pem cannot be
found.
I did find though if I put a full path to the file, such as
/home/myuser/.chef/validation.pem, it does work. Is the
~/.chef path
interpreted as relative to the ssh user (the user running
the knife bootstrap
is different than the ssh username). I wouldn't think so,
but I'm not sure.
Any reason why this wouldn't work?
|
Archive powered by MHonArc 2.6.16.