Created
December 7, 2011 19:12
-
-
Save lusis/1444181 to your computer and use it in GitHub Desktop.
handy motd erb template for chef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__________________________________________________ | |
| | |
| Node name: <%= node.name %> | |
| Node arch: <%= node.kernel.machine %> | |
<% if node.attribute?('ec2') %> | |
| EC2 AMI: <%= node[:ec2][:ami_id] %> | |
| EC2 Instance: <%= node[:ec2][:instance_id] %> | |
| Size: <%= node[:ec2][:instance_type] %> | |
| Public IP: <%= node[:ec2][:public_ipv4] %> | |
| Private IP: <%= node[:ec2][:local_ipv4] %> | |
| Zone: <%= node[:ec2][:placement_availability_zone] %> | |
| Security Group: <%= node[:ec2][:security_groups].first %> | |
<% end %> | |
| | |
| | |
| | |
__________________________________________________ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment