[chef] Re: Re: knife ssh search results missing


Chronological Thread 
  • From: Cassiano Leal < >
  • To: < >
  • Cc:
  • Subject: [chef] Re: Re: knife ssh search results missing
  • Date: Mon, 22 Jul 2013 15:27:02 -0300

Hi Kevin,


Neither attributes are set, but they shouldn’t make any difference. Yes, I’m on EC2, inside a VPC (which is probably why both public attributes are null).


I have


knife[:ssh_attribute] = 'ec2.local_ipv4’


on knife.rb so it uses that for connecting to the hosts.


I have tried setting it explicitly on the CLI as well:


$ knife ssh 'chef_environment:production' 'uptime' -a 'ec2.local_ipv4’


but no dice.


--
Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On July 22, 2013 at 15:12:12, Kevin Karwaski ( ) wrote:

knife search 'chef_environment:production' -a ec2.public_hostname



Archive powered by MHonArc 2.6.16.

§