Closed neoice closed 11 years ago
I assume you mean this fork: https://github.com/bhourigan/puppetctl/commit/41941a42890cbad1fb62e4cfd01e80ace100f453
you might want to merge that into the mozilla-it repo. I found this repo from a PuppetConf lecture, I'm guessing other people have/will too.
here's a scenario that bit me in production:
t+0hr: puppetctl disable -t "now + 3 hours" -m "deploying code" t+1hr: puppetctl enable && puppetctl run t+2hr: puppetctl disable -t "now + 3 days" -m "done for the weekend, will fix monday" t+3hr: atd runs and enables puppet causing much chaos!
I typically don't write shellscripts for public consumption, so I'm not sure if this code is considered "good style", but I'm deploying this version to my network now and will continue testing it this week!