I hereby claim:
- I am c10l on github.
- I am cassianoleal (https://keybase.io/cassianoleal) on keybase.
- I have a public key ASCyqshjCAuO9p1E3scry3MNJFnN_0B-IEKawT8Vo3jZnQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function _brew () { | |
for f in /usr/local/*; do | |
if [ ! -w "${f}" ]; then | |
echo 'Fixing /usr/local ownership...' | |
sudo chown -R $(whoami):admin /usr/local | |
break | |
fi | |
done | |
brew $* | |
} |
input { | |
tcp { | |
codec => line { | |
charset => "ISO8859-1" | |
} | |
port => <%= port %> | |
tags => ["syslog"] | |
} | |
} | |
filter { |
module Vagrant | |
module Provisioners | |
class ChefClient | |
def cleanup | |
env[:ui].info "Attempting to remove client #{env[:vm].config.vm.host_name}" | |
`knife client show #{env[:vm].config.vm.host_name}` | |
if $?.to_i == 0 | |
env[:ui].info "Removing client #{env[:vm].config.vm.host_name}" | |
`knife client delete #{env[:vm].config.vm.host_name} -y` | |
end |
... | |
set :stack, :php | |
... | |
# At this point, I want deploy:restart to be overwritten by php:deploy:restart etc |