This file contains hidden or 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
// Compiles out to.. | |
{ | |
maintainer: "Adam Jacob", | |
maintainer_email: "[email protected]", | |
license: "Apache v2.0", | |
version: 1.0, | |
description: "Build and configure apache virtual hosts", | |
description_long: "...", | |
supports: { | |
"ubuntu": [ ">= 8.04", "<< 10.02" ] |
This file contains hidden or 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
/Users/cb/Projects/dynomite/Rakefile:7: warning: already initialized constant VERSION | |
erlc +debug_info -I include -I deps/eunit/include -DTEST -o etest etest/t.erl etest/mock_genserver.erl etest/mock.erl | |
etest/mock_genserver.erl:76: Warning: variable 'From' is unused | |
etest/mock_genserver.erl:79: Warning: variable 'From' is unused | |
etest/mock_genserver.erl:82: Warning: variable 'From' is unused | |
etest/mock_genserver.erl:85: Warning: variable 'From' is unused | |
etest/mock_genserver.erl:88: Warning: variable 'From' is unused | |
etest/mock_genserver.erl:150: Warning: variable 'Request' is unused | |
etest/mock_genserver.erl:150: Warning: variable 'Rest' is unused | |
etest/mock_genserver.erl:169: Warning: variable 'Sym' is unused |
This file contains hidden or 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
=PROGRESS REPORT==== 22-Apr-2009::11:54:44 === | |
supervisor: {local,sasl_safe_sup} | |
started: [{pid,<0.41.0>}, | |
{name,alarm_handler}, | |
{mfa,{alarm_handler,start_link,[]}}, | |
{restart_type,permanent}, | |
{shutdown,2000}, | |
{child_type,worker}] |
This file contains hidden or 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
command is erl -boot start_sasl +K true -smp enable -pa ./etest ./ebin ./deps/mochiweb/ebin ./deps/thrift/ebin -sname local_console_4 | |
2451 -noshell -priv_dir "/Users/cb/Projects/dynomite/etest/log/42451" -config test -s eunit test bootstrap configuration dmerkle dmtr | |
ee lib_misc mediator membership partitions rate storage_manager storage_server stream sync_manager vector_clock -run init stop | |
erl -boot start_sasl +K true -smp enable -pa ./etest ./ebin ./deps/mochiweb/ebin ./deps/thrift/ebin -sname local_console_42451 -noshe | |
ll -priv_dir "/Users/cb/Projects/dynomite/etest/log/42451" -config test -s eunit test bootstrap configuration dmerkle dmtree lib_misc | |
mediator membership partitions rate storage_manager storage_server stream sync_manager vector_clock -run init stop | |
There were no tests to run. | |
-> Test logs in /Users/cb/Projects/dynomite/etest/log/42451 |
This file contains hidden or 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
begin | |
r = resources(:template => '/etc/blah') | |
r.variables[:new_stuff] = 'foo' | |
rescue RuntimeError => e | |
template '/etc/blah' do | |
source 'blah.erb' | |
variables :one => 'two' | |
end | |
end |
This file contains hidden or 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
# Divine Panda | |
service "foo" do | |
action :nothing | |
end | |
template "/etc/foo/config.conf" do | |
source "config.conf.erb" | |
action :create | |
notifies :restart, resources(:service => "foo") | |
end |
This file contains hidden or 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
{ | |
{ | |
"username": "bobo", | |
"emails": [ "[email protected]", "[email protected]" ] | |
} | |
{ | |
"username": "theclown", | |
"emails": [ "[email protected]", "[email protected]" ] | |
} | |
} |
This file contains hidden or 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
{ | |
"command": { | |
"ps": "ps -ef" | |
}, | |
"kernel": { | |
"modules": { | |
"com.parallels.kext.vmmain": { | |
"size": 65536, | |
"version": "3.0", | |
"index": "128", |
This file contains hidden or 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
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'chef' | |
require 'chef/node' | |
require 'chef/rest' | |
# A registration for your API access | |
api_user = "monkey" | |
# A password for the API access |
This file contains hidden or 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
%w{merb-core merb-haml syntax}.each do |gem| | |
gem_package gem | |
end | |
# Upgrade | |
%w{merb-core merb-haml syntax}.each do |gem| | |
gem_package gem do | |
action :upgrade | |
end | |
end |