I hereby claim:
- I am lxndrp on github.
- I am lxndrp (https://keybase.io/lxndrp) on keybase.
- I have a public key ASC_SNbAoX_fuhxAl7Fxd1rK-3B3iAd5hBAxYS6KQWW3Ggo
To claim this, I am signing this object:
if node["recipes"].find_index("firewall") | |
Chef::Log.info "Restarting libvirt after firewall setup" | |
service "libvirt" do | |
action :nothing | |
subscribes :restart, resources("service[#{node["firewall"]["backend"]}]"), :immediately | |
notifies :restart, "service[libvirt]" | |
end | |
end |
# haproxy frontend role | |
haproxy: { | |
services: { | |
rabbitmq_portmapping: { | |
mode: "tcp", | |
port: "4369", | |
backends: { | |
nodes: { | |
search: {"role:inf_rabbitmq-clusternode"}, | |
attributes: [ "" ], |
> pmset -g batt | |
++ _lp_reset_runtime | |
++ _LP_RUNTIME_SECONDS=4 | |
++ '[' 0 '!=' 1 ']' | |
++ _LP_RUNTIME_LAST_SECONDS=150 | |
++ _LP_RUNTIME_SECONDS=0 | |
++ '[' 'pmset -g batt' = _lp_set_prompt ']' | |
++ _LP_RUNTIME_COMMAND_EXECUTED=1 | |
+ pmset -g batt | |
Now drawing from 'AC Power' |
I hereby claim:
To claim this, I am signing this object: