This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This code declares a file resource to manage an interface | |
# configuration script on RHEL/RHEL variants for automated | |
# configuration of OVS. | |
# | |
file {'/etc/sysconfig/network-scripts/ifcfg-mgmt0': | |
ensure => 'present', | |
source => 'puppet:///modules/module-name/ovs-ifcfg-mgmt0', | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anchor "org.scottlowe.pf" | |
load anchor "org.scottlowe.pf" from "/etc/pf.anchors/org.scottlowe.pf.rules" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Options | |
set block-policy drop | |
set fingerprints "/etc/pf.os" | |
set ruleset-optimization basic | |
set skip on lo0 | |
# Normalization | |
# Scrub incoming packets | |
scrub in all no-df |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.scottlowe.pf.plist</string> | |
<key>Program</key> | |
<string>/sbin/pfctl</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto eth0.20 | |
iface eth0.20 inet static | |
vlan-raw-device eth0 | |
address 192.168.20.200 | |
netmask 255.255.255.0 | |
network 192.168.20.0 | |
broadcast 192.168.20.255 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto tep0 | |
iface tep0 inet static | |
address 192.168.200.10 | |
netmask 255.255.255.0 | |
network 192.168.200.0 | |
broadcast 192.168.200.255 | |
post-up ip rule add from 192.168.200.10 lookup tunnel | |
post-up ip route add default via 192.168.200.1 dev tep0 table tunnel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Set some global values to be used later in the script | |
property markdownloc : "/usr/local/bin/multimarkdown" | |
on translate_line_breaks(str) | |
set AppleScript's text item delimiters to {ASCII character 13} | |
set _lines to every text item of str | |
set AppleScript's text item delimiters to {ASCII character 10} | |
set str to _lines as text | |
set AppleScript's text item delimiters to {} | |
return str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This script moves messages to a mailbox for the current year | |
-- Set some default values to be used later in the script | |
property theMailbox : "Archive" | |
-- Handler called when running script from script menu | |
on run | |
tell application "Mail" | |
set theSelectedMessages to selection | |
if ((count of theSelectedMessages) < 1) then | |
beep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7e99f9f1-8ec7-48dd-8463-0e04dd5efc11 | |
Manager "ssl:192.168.1.5:6632" | |
is_connected: true | |
Manager "ssl:192.168.1.6:6632" | |
is_connected: true | |
Manager "ssl:192.168.1.2:6632" | |
is_connected: true | |
Bridge br-int | |
Controller "unix:ovs-l3d.mgmt" | |
is_connected: true |