[chef] Re: knife chokes on "~/" syntax in .config/knife.rb


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: knife chokes on "~/" syntax in .config/knife.rb
  • Date: Sun, 13 Feb 2011 00:53:09 -0800

This has been fixed in tip. Not sure if it was merged to 0.9.14.

Hedge Hog < > 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



Archive powered by MHonArc 2.6.16.

§