-
-
Save yoplait/6ff32f43c95bdaa65e0b to your computer and use it in GitHub Desktop.
bootstrap and show nodes
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
knife bootstrap xxx \ | |
--ssh-user root \ | |
--identity-file ~/.ssh/secret \ | |
--node-name FE1 \ | |
--environment production \ | |
--run-list 'role[base2],role[yet_server]' | |
knife bootstrap xxx \ | |
--ssh-user root \ | |
--identity-file ~/.ssh/secret \ | |
--node-name lbl \ | |
--environment production \ | |
--run-list 'role[base2],role[yet_lb]' | |
juanperez@perezpardojc ~> knife node show FE1 | |
Node Name: FE1 | |
Environment: production | |
FQDN: FE1 | |
IP: xxx | |
Run List: role[base2], role[yet_server] | |
Roles: base2, yet_server | |
Recipes: apt, chef-client, bootstrap, sudo, nginx, yet_site, apt::default, chef-client::default, chef-client::service, chef-client::init_service, bootstrap::default, users::default, users::sysadmins, sudo::default, nginx::default, nginx::package, nginx::ohai_plugin, ohai::default, nginx::commons, nginx::commons_dir, nginx::commons_script, nginx::commons_conf, yet_site::default | |
Platform: ubuntu 14.04 | |
Tags: | |
juanperez@perezpardojc ~> knife node show lbl | |
Node Name: lbl | |
Environment: production | |
FQDN: HA1 | |
IP: yyy | |
Run List: role[base2], role[yet_lb] | |
Roles: base2, yet_lb | |
Recipes: apt, chef-client, bootstrap, sudo, haproxy::app_lb, apt::default, chef-client::default, chef-client::service, chef-client::init_service, bootstrap::default, users::default, users::sysadmins, sudo::default, haproxy::install_package | |
Platform: ubuntu 14.04 | |
Tags: | |
juanperez@perezpardojc ~> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment