Project

shiv

0.0
No commit activity in last 3 years
No release in over 3 years
Shiv is a quick and dirty hack to use chef node names in place of their hostnames.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.6.4
>= 0

Runtime

>= 0
 Project Readme

Shiv

Shiv is a quick and dirty hack to use chef node names in place of their hostnames.

Install

gem install shiv

Examples

Need to ssh to a specific server? Normally you would probably do something like this:

$ knife node show node-name -a ec2.public_hostname
ec2.public_hostname:  ec2-hostname.compute-1.amazonaws.com

$ ssh ubuntu@ec2-hostname.compute-1.amazonaws.com

Try this instead:

$ shiv ssh ubuntu@node-name

Works with any other command too:

$ shiv scp ubuntu@node-name:/file .