Skip to content

Instantly share code, notes, and snippets.

# Nick Anderson <[email protected]>
# Mutt Configuration
# Load the Zenburn colorscheme
source ~/.mutt/colorschemes/zenburn
source $HOME/.mutt/identity
source $HOME/.mutt/gpg
# Set the editor
# Use autotrim formating script to pre-process loaded text removing previously
UNRESTRICTED = user1, user2
[/]
@UNRESTRICTED = rw
[repo1]
restricted_user = rw
body common control {
bundlesequence => {
"main",
};
inputs => {
"cfengine_stdlib.cf",
};
}
bundle agent rh_update_routes(ipregex, routes) {
# Expects string, array
# Note: This bundle depricates rh_add_interface_routes. I see no good reason to continue using it.
#
# ipregex is a regular expression that matches the ip on the interface you want these routes added
# hint: ipregex should match an ip that can communicate with the specified gateway
# for example if your routing a network via 192.168.0.1 and the network is a /24 network
# (255.255.255.0 netmask) then you should have an ip in the range 192.168.0.1-254 on the
# host your trying to add this route on. So a regex of 192\.168\.0\.[0-9]++ would work.
# routes is an array keyed on the network you want to route to with the string value being the gateway to use.
@nickanderson
nickanderson / out1.log
Created February 22, 2012 18:59
Segfault produced
cf3> Cfengine - autonomous configuration engine - commence self-diagnostic prelude
cf3> ------------------------------------------------------------------------
cf3> Work directory is /home/cmdln/.cfagent
cf3> Making sure that locks are private...
cf3> Checking integrity of the state database
cf3> Checking integrity of the module directory
cf3> Checking integrity of the PKI directory
cf3> Looking for a source of entropy in /home/cmdln/.cfagent/randseed
cf3> -> Loaded private key /home/cmdln/.cfagent/ppkeys/localhost.priv
cf3> -> Loaded public key /home/cmdln/.cfagent/ppkeys/localhost.pub
body common control {
bundlesequence => {
"main",
};
inputs => {
"cfengine_stdlib.cf",
};
}
@nickanderson
nickanderson / boxcryptor_dropbox_encfs.cf
Created February 27, 2012 19:54
Setup encfs on dropbox for use with boxcryptor
body common control {
bundlesequence => {
"main",
};
inputs => {
"cfengine_stdlib.cf",
};
}
body common control {
bundlesequence => {
"main",
"paths",
};
inputs => {
"cfengine_stdlib.cf",
};
body common control {
bundlesequence => {
"main",
};
inputs => {
"cfengine_stdlib.cf",
};
}
body common control {
bundlesequence => {
"main",
};
inputs => {
"cfengine_stdlib.cf",
};
}