summaryrefslogtreecommitdiffstats
path: root/manifests/host
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2013-09-18 05:52:23 -0400
committerJames Shubin <james@shubin.ca>2013-09-18 05:52:23 -0400
commit4dbba38fc44e8d7226fdecec12b1237fc24d026d (patch)
tree215fa7e931f7c9b71bbdd2d7fade629dea5546d0 /manifests/host
parent269be1cc13c43df0e8e3a3c0babbe494ed727e60 (diff)
Finally, Fancy Firewalling...
This adds experimental support for automatic firewalling. Initially, we don't know the other hosts (until they are exported and collected) so we start with an blank firewall to all hosts. After hosts start checking in, we start only allowing specify host ips. For the volume building, we can't predict (AFAICT) which ports will be used until after the volume is started, so we initially allow all ports inbound, until the fact gets the data from the started volume and uses those specific ports. This naturally takes multiple puppet runs to complete.
Diffstat (limited to 'manifests/host')
-rw-r--r--manifests/host/data.pp26
1 files changed, 26 insertions, 0 deletions
diff --git a/manifests/host/data.pp b/manifests/host/data.pp
new file mode 100644
index 0000000..ee54efb
--- /dev/null
+++ b/manifests/host/data.pp
@@ -0,0 +1,26 @@
+# Simple? gluster module by James
+# Copyright (C) 2010-2013+ James Shubin
+# Written by James Shubin <james@shubin.ca>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+class gluster::host::data(
+ #$name,
+ $ip,
+ $fqdn
+) {
+ # so far, this does nothing but 'store' variables
+}
+
+# vim: ts=8