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:
... | |
set :stack, :php | |
... | |
# At this point, I want deploy:restart to be overwritten by php:deploy:restart etc |
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 |
input { | |
tcp { | |
codec => line { | |
charset => "ISO8859-1" | |
} | |
port => <%= port %> | |
tags => ["syslog"] | |
} | |
} | |
filter { |
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 $* | |
} |
I hereby claim:
To claim this, I am signing this object: