summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-06 14:21:25 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:06:59 +0100
commite23547c43f858d8bf41deacc5aed5a7347521fb4 (patch)
tree0f477123b3ae9712fe8014afdaf226dc094fef50
parentMounts profile add nfs dependency. (diff)
downloadprofiles-e23547c43f858d8bf41deacc5aed5a7347521fb4.tar.gz
profiles-e23547c43f858d8bf41deacc5aed5a7347521fb4.tar.xz
profile documentation
-rw-r--r--manifests/arch_builder.pp3
-rw-r--r--manifests/common.pp1
-rw-r--r--manifests/dns_zones.pp2
-rw-r--r--manifests/fcgiwrap.pp1
-rw-r--r--manifests/group_profile.pp1
-rw-r--r--manifests/imagemagick.pp2
6 files changed, 10 insertions, 0 deletions
diff --git a/manifests/arch_builder.pp b/manifests/arch_builder.pp
index f6acf61..f5318fe 100644
--- a/manifests/arch_builder.pp
+++ b/manifests/arch_builder.pp
@@ -1,3 +1,6 @@
+# Sets up an arch system for running my arch-builder script, which
+# periodically fetches a list of packages, and builds them for
+# inclusion in an arch repo.
class profiles::arch_builder (
Hash $conf,
Array $package_list,
diff --git a/manifests/common.pp b/manifests/common.pp
index e93f3b2..1c9af0f 100644
--- a/manifests/common.pp
+++ b/manifests/common.pp
@@ -1,3 +1,4 @@
+# Common settings which all hosts should have applied
class profiles::common (
String $timezone = 'UTC',
Array[String] $locales = [ 'en_US.UTF-8', ],
diff --git a/manifests/dns_zones.pp b/manifests/dns_zones.pp
index d3f1d86..8cd4475 100644
--- a/manifests/dns_zones.pp
+++ b/manifests/dns_zones.pp
@@ -1,3 +1,5 @@
+# Sets up our dns-server, assumes that all zone information comes from
+# hiera.
class profiles::dns_zones (
Hash $zones,
Hash $default = {},
diff --git a/manifests/fcgiwrap.pp b/manifests/fcgiwrap.pp
index fa667d1..327f60a 100644
--- a/manifests/fcgiwrap.pp
+++ b/manifests/fcgiwrap.pp
@@ -1,3 +1,4 @@
+# Sets up fciwrap, probably to be used in conjunction with nginx
class profiles::fcgiwrap {
ensure_packages(['fcgiwrap'])
diff --git a/manifests/group_profile.pp b/manifests/group_profile.pp
index 2025a4b..6fd14cb 100644
--- a/manifests/group_profile.pp
+++ b/manifests/group_profile.pp
@@ -1,3 +1,4 @@
+# Set up profile.d/group.d, for group specific configurations.
class profiles::group_profile {
file { '/etc/profile.d/group-env.sh':
ensure => 'file',
diff --git a/manifests/imagemagick.pp b/manifests/imagemagick.pp
index 7663cf8..2793955 100644
--- a/manifests/imagemagick.pp
+++ b/manifests/imagemagick.pp
@@ -1,8 +1,10 @@
+# Imagemagick configuration
class profiles::imagemagick {
package { 'imagemagick':
ensure => installed,
}
+ # Allows handling of pdf:s
file { '/etc/ImageMagick-7/policy.xml':
content => epp('profiles/imagemagick-policy.xml', {
policies => [