Add squid profile to proxyout
authorJan Dittberner <jandd@cacert.org>
Sat, 26 Aug 2017 14:32:38 +0000 (16:32 +0200)
committerJan Dittberner <jandd@cacert.org>
Sat, 26 Aug 2017 14:32:38 +0000 (16:32 +0200)
sitemodules/profiles/manifests/squid.pp [new file with mode: 0644]
sitemodules/roles/manifests/proxyout.pp

diff --git a/sitemodules/profiles/manifests/squid.pp b/sitemodules/profiles/manifests/squid.pp
new file mode 100644 (file)
index 0000000..24b3fdd
--- /dev/null
@@ -0,0 +1,34 @@
+# Class: profiles::squid.pp
+# =========================
+#
+# This class defines a Squid proxy installation that allows outgoing http and
+# https traffic to selected destinations.
+#
+# Parameters
+# ----------
+#
+# @param acls a list of squid ACLs for regulating outgoing traffic
+#
+# Examples
+# --------
+#
+# @example
+#   class roles::myhost {
+#     include profiles::squid
+#   }
+#
+# Authors
+# -------
+#
+# Jan Dittberner <jandd@cacert.org>
+#
+# Copyright
+# ---------
+#
+# Copyright 2017 Jan Dittberner
+class profiles::base (
+  Array[String] $acls = [],
+) {
+  package { 'squid':
+  }
+}
index 257a7cf..82cdfcd 100644 (file)
@@ -22,4 +22,5 @@
 #
 class roles::proxyout {
   include profiles::base
+  include profiles::squid
 }