3,992 reputation
2919
bio website
location Fort Lauderdale, FL
age 30
visits member for 3 years, 11 months
seen Dec 17 '14 at 19:54

System architect & Linux admin for cloud.com (Citrix).


Dec
20
awarded  Tumbleweed
Dec
13
revised strongSwan IPsec server with AWS EC2 VPC VPN client
fix software name
Dec
13
asked strongSwan IPsec server with AWS EC2 VPC VPN client
Dec
2
accepted is there a way to run a command before puppet implements a change?
Dec
2
answered is there a way to run a command before puppet implements a change?
Sep
6
comment sudo rejects password that is correct
Do you have a sudoers entry in /etc/nsswitch.conf? (it could be configured to look up the user incorrectly)
Sep
1
comment is there a way to run a command before puppet implements a change?
I thought about this, but would need the exec {} to only run when required. This means putting refreshonly on it. Will the refreshonly still trigger the exec through the require, or does refreshonly only work with notify and subscribe? I'll give it a shot in the next couple days when I have some time to go play around.
Aug
31
comment is there a way to run a command before puppet implements a change?
@quanta I don't see how a pre-commit hook would help (even if the commit is happening on a puppet run machine, it's only one box, all the others in the pool wont run the hook. Plus if I'm using a puppet master, the repo wont even be on all the puppet clients), but it did give me an idea. Instead of running the removal script only when puppet is going to make a change, run the removal script if the puppet manifests have been updated since the last puppet run. It's not as guaranteed as running it before puppet makes a change, but it could be acceptable.
Aug
31
comment is there a way to run a command before puppet implements a change?
The web server was just one scenario. I want this to be applied to any change to any box in a pooled environment.
Aug
31
asked is there a way to run a command before puppet implements a change?
Aug
26
comment What's going on with my server? High load, lots of idle CPU time, low disk utilization
You load is coming from the high %sys. %sys is time spent by the kernel. For some reason the kernel is using a TON of CPU time. Unfortunately there are are lot of causes for this, but the most common that I see is usually interrupts. I'd look at watch -n 1 cat /proc/interrupts and see if any of them are climbing at an insanely high rate (thousands per second). Edit: oh, this is an old question that just popped up on the front page, likely to be irrelevant now :-(
Aug
25
comment vmware unique cpu identifier
I think you mean 'host' or 'hypervisor', not 'CPU'. After all, the hypervisor could shift your guest VM to another CPU on the same host...
Aug
25
answered How can I sync /var/foo/ on one Linux machine with the same folder on another machine?
Aug
24
revised IPTABLES PREROUTING all traffic in subnet tranparently to proxy, except for
edited tags
Aug
24
revised IPTABLES PREROUTING all traffic in subnet tranparently to proxy, except for
fix markdown
Aug
24
answered IPTABLES PREROUTING all traffic in subnet tranparently to proxy, except for
Aug
24
answered Why isn't the variable available?
Aug
23
comment Intercepting https using proxy
While this is correct, it would help others understand if you elaborate on why.
Aug
22
answered Find and delete directories older than time?
Aug
22
comment Find and delete directories older than time?
The second command is VERY BAD. Modification time of directories does not change when the contents of a file in the directory is modified, only when files are added or removed from the directory. Thus your second command will end up wiping out directories that shouldn't be.