bstop Stops jobs
bstop -u <username - can be a group or all>
badmin hclose -C "explanation here" <hostname>
badmin hopen
| #!/bin/env ruby | |
| require 'hostlist_expression' | |
| # | |
| def parse_inventory_file (filecontent) | |
| group_map = {} | |
| group_map.default = [] | |
| group = [] | |
| g = Array.new | |
| #parse the name of the group, and all hosts in it | |
| filecontent.each_line{|line| |
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCvFrMhn7amgq3w91T+oyfzJKy6q/mN4WC+6KM8sK+j1204xGyz1/6jtEcktJSl21I4b/R5KcKBmD78WkHUcDt2h2njhICqX3/5sFwujrYb2/5DHnSo8T4o6B5PdQlu7+m4HR5B8xhJxdZjhULEJzHckiMyIh0HCYOf/RwQ1rtmZwu7j6aLdSgvICDWnPJGlwH3j2nd75ur1mhTKPtgBER44d8qQLHMA5q+CfXjGLa8/PDYczbqGwnMSMVfBk4O47Ff4vf9pd9c9SWg1zAlUwg1ZTrWpHa2mOMVv7smY/+9hZjc3jGfT/a0GPIKzo/5RIIWtc5hVyawsGS26GtcbCIaWEasCm9+azq3lJt1F+Nt8jhlJ3t6yMMq0qq/IWNrvjAGaQTrk8411pxC48vXSX9gAJJDzIkDRuMFBLn0Yf8soeMg6s9GK7HlQxK+YCy3MO9RKbpqcjMu6L182CQJo0lL0WJGPgwfhjmkWXBwjVzzUVuL6LxE9zTw7iNu4sGiIuXus3F4E5inV80zEuOfUMCXoL96uNogn3p503of+pT0QM2hMu1s/nqR5SLp/hfQc9qbGdlkNo559QWGCXobROo2Bkum9mwfcakE0bDsyFvaLqoeT+LyJOHtV/3/yPlpBs3o1JHoMhKfSJa30+QuI6R/lMmUJiXJ5BdWouSTyU/STw== |
| # Description: | |
| # Query Consul with Hubot | |
| # | |
| # Commands: | |
| # hubot consul datacenters - Show Datacenters | |
| # hubot consul services - Show Services | |
| # hubot consul service <servicename> - Show Detailed info about a service | |
| # | |
| # Notes: | |
| # They are commented out by default, because most of them are pretty silly and |
| { | |
| "host_groups" : [ | |
| { | |
| "name" : "master", | |
| "components" : [ | |
| { | |
| "name" : "NAMENODE" | |
| }, | |
| { | |
| "name" : "SECONDARY_NAMENODE" |
| ["redis-brain.coffee", "shipit.coffee", "deadline.coffee", "xkcd.coffee", "working-on.coffee", "zen.coffee", "hello.coffee", "jenkins.coffee" ] |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "host_groups" : [ | |
| { | |
| "name" : "master", | |
| "components" : [ | |
| { | |
| "name" : "NAMENODE" | |
| }, | |
| { | |
| "name" : "SECONDARY_NAMENODE" |
Hypervisor for centos6 is docker
Beaker::Hypervisor, found some docker boxes to create
Provisioning docker
provisioning centos6
Creating image
Dockerfile is FROM centos:centos6
RUN yum clean all
RUN yum install -y sudo openssh-server openssh-clients curl ntpdate
RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key| HOSTS: | |
| ubuntu-12-04: | |
| platform: ubuntu-12.04-x64 | |
| image: ubuntu:12.04 | |
| hypervisor: docker | |
| docker_preserve_image: true | |
| #docker_image_commands: | |
| # - 'apt-get install -y puppet' | |
| centos6: | |
| platform: centos-6-x64 |