I hereby claim:
- I am afterglow on github.
- I am afterglow (https://keybase.io/afterglow) on keybase.
- I have a public key whose fingerprint is 3A2E 6EBE 8638 3A19 DBB4 5CB3 D670 48B2 2181 AED5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
service "monit" do | |
supports restart: true, reload: true | |
action [:enable, :start] | |
end |
Started POST "/hook/receive" for 172.17.0.6 at 2015-08-20 21:25:34 +0100 | |
Cannot render console from 172.17.0.6! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255 | |
Processing by HookController#receive as HTML | |
Parameters: {"object_kind"=>"push", "before"=>"f1e98bc72a8084a3672f71388c3a7a5f433d95f8", "after"=>"2130be8eef09c2c39835bcf83f4e891b03aea8e9", "ref"=>"refs/heads/master", "checkout_sha"=>"2130be8eef09c2c39835bcf83f4e891b03aea8e9", "message"=>nil, "user_id"=>1, "user_name"=>"Administrator", "user_email"=>"admin@example.com", "project_id"=>1, "repository"=>{"name"=>"test-project", "url"=>"git@maxi.52wb.co.uk:root/test-project.git", "description"=>"Testing a project", "homepage"=>"http://maxi.52wb.co.uk:8080/root/test-project", "git_http_url"=>"http://maxi.52wb.co.uk:8080/root/test-project.git", "git_ssh_url"=>"git@maxi.52wb.co.uk:root/test-project.git", "visibility_level"=>10}, "commits"=>[{"id"=>"2130be8eef09c2c39835bcf83f4e891b03aea8e9", "message"=>"testing\n", "timestamp"=>"2015-08-20T20:38:43 |
require 'spec_helper' | |
describe server('provisiontest') do | |
describe http('http://192.168.20.10/') do | |
it 'responds with 200' do | |
expect(response.status).to eq 200 | |
end | |
end | |
end |
require 'infrataster/rspec' | |
require 'infrataster-plugin-chef' | |
Infrataster::ChefServer.define( | |
'server1', | |
'192.168.20.10', | |
chefnode: File.expand_path('provision/repo/nodes/server1.json'), | |
vagrant: true | |
) |
Infrataster::Server.define( | |
:proxy, # name | |
'192.168.0.1', # ip address | |
ssh: {host_name: 'hostname', user: 'testuser', keys: ['/path/to/id_rsa']} | |
) |
Infrataster::Server.define( | |
:proxy, # name | |
'192.168.0.1', # ip address | |
vagrant: true # for vagrant VM | |
) |
require "chef/provisioning" | |
require "chef/provisioning/aws_driver" | |
with_driver "aws" | |
user = Etc.getpwuid(Process.uid).name | |
aws_key_pair "boreas-#{user}" | |
aws_security_group "boreas-#{user}" do |
require 'chef/provisioning' | |
require 'chef/provisioning/aws_driver' | |
with_driver 'aws' | |
with_data_center 'eu-west-1' do | |
aws_key_pair 'chefprov-eu-west-1-test' | |
machine 'chefprov-test' do | |
machine_options :bootstrap_options => { | |
:key_name => 'chefprov-eu-west-1-test' |
equire 'chef/provisioning' | |
require 'chef/provisioning/aws_driver' | |
with_driver 'aws' | |
%w[ us-east-1 us-west-1 ].each do |region| | |
with_data_center region do | |
aws_key_pair "chefprov-test" | |
machine "chefprov-#{region}" do | |
run_list [ |