Monthly Archives: February 2012

Setup encfs on dropbox for boxcryptor with CFEngine

Here is an easy way to con­fig­ure encfs with drop­box that is com­pat­i­ble with box­cryp­tor. Box­cryp­tor makes Win­dows, Mac Android, and IOS appli­ca­tions to assist you in access­ing data that you have stored in encfs. They do require that you cre­ate your encfs with some spe­cific options: Cipher algo­rithm: AES, Plain­text or Stream encrypted file­names,

New bundle to manage routes for RedHat/CentOS with CFEngine 3

I re-factored rh_add_interface_routes into a new bun­dle rh_update_routes, you can find them in my CFEngine library. The biggest improve­ment is you no longer have to spec­ify the inter­face you want the route on. Instead you spec­ify a reg­u­lar expres­sion of the ip that would be on that inter­face and the spe­cific inter­face is found. Sec­ond major

pre-commit hook for git to check CFEngine syntax

Some­times I am not so dis­ci­plined to run cf-promises on my pol­icy before I com­mit it. I make a small change and I think I’m golden, but inevitably that breaks things. I wrote a sim­ple com­mit hook to check pol­icy syn­tax and stop you from shoot­ing your­self in the foot. You can find  the pre-commit

Bundles of Bundles with CFEngine 3

I’ve been work­ing more and more with CFEngine lately and I have been slowly build­ing a tiny library. These are all pretty much red­hat spe­cific but I wel­come patches and com­ments. Most of the bun­dles have com­ments that show usage, if there is inter­est I may post some exam­ple usage later.