Hi,
I’ve looked through the open knife issues and din’t notice anything,
but would like to confirm this is not a known bug before opening a
ticket:
client_key “~/chef/server/etc/client.pem”
leads to:
FATAL: Failed to read the private key ~/chef/server/etc/client.pem:
#<Errno::ENOENT: No such file or directory -
~/chef/server/etc/client.pem>,
Expanding the path in .config/knife.rb and all runs OK.
TIA
–
πόλλ’ οἶδ ἀλώπηξ, ἀλλ’ ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://wiki.hedgehogshiatus.com
This has been fixed in tip. Not sure if it was merged to 0.9.14.
Hedge Hog hedgehogshiatus@gmail.com wrote:
Hi, I’ve looked through the open knife issues and din’t notice anything, but would like to confirm this is not a known bug before opening a ticket: client_key “~/chef/server/etc/client.pem” leads to: FATAL: Failed to read the private key ~/chef/server/etc/client.pem: #<Errno::ENOENT: No such file or directory - ~/chef/server/etc/client.pem>, Expanding the path in .config/knife.rb and all runs OK. TIA – πόλλ’ οἶδ ἀλώπηξ, ἀλλ’ ἐχῖνος ἓν μέγα [The fox knows many things, but the hedgehog knows one big thing.] Archilochus, Greek poet (c. 680 BC – c. 645 BC) http://wiki.hedgehogshiatus.com
On Sun, Feb 13, 2011 at 7:53 PM, Noah Kantrowitz noah@coderanger.net wrote:
This has been fixed in tip. Not sure if it was merged to 0.9.14.
OKay thanks, I should have said I'm on 9.12,but will probably wait
for 0.10 before moving up.
Hedge Hog hedgehogshiatus@gmail.com wrote:
Hi, I've looked through the open knife issues and din't notice anything,
but would like to confirm this is not a known bug before opening a ticket:
client_key "~/chef/server/etc/client.pem" leads to: FATAL: Failed to read
the private key ~/chef/server/etc/client.pem: #<Errno::ENOENT: No such file
or directory - ~/chef/server/etc/client.pem>, Expanding the path in
.config/knife.rb and all runs OK. TIA -- πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν
μέγα [The fox knows many things, but the hedgehog knows one big thing.]
Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://wiki.hedgehogshiatus.com
--
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://wiki.hedgehogshiatus.com
On 2011.02.13., at 10:21, Hedge Hog wrote:
On Sun, Feb 13, 2011 at 7:53 PM, Noah Kantrowitz noah@coderanger.net wrote:
This has been fixed in tip. Not sure if it was merged to 0.9.14.
OKay thanks, I should have said I'm on 9.12,but will probably wait
for 0.10 before moving up.
Or you can simply write ::File.expand_path('~/.chef/server/etc/client.pem').
Gabor
On Sun, Feb 13, 2011 at 4:03 AM, Vészi Gábor veszig@done.hu wrote:
On 2011.02.13., at 10:21, Hedge Hog wrote:
On Sun, Feb 13, 2011 at 7:53 PM, Noah Kantrowitz noah@coderanger.net
wrote:
This has been fixed in tip. Not sure if it was merged to 0.9.14.
OKay thanks, I should have said I'm on 9.12,but will probably wait
for 0.10 before moving up.
Or you can simply write
::File.expand_path('~/.chef/server/etc/client.pem').
...though using ::File.expand_path in the resource declaration fails if the
user doesn't exist yet at compile time.