stop procps messing with our protected_hardlinks setting on debian-cd hosts
authorJulien Cristau <jcristau@debian.org>
Mon, 23 Sep 2019 18:57:56 +0000 (20:57 +0200)
committerJulien Cristau <jcristau@debian.org>
Mon, 23 Sep 2019 18:57:56 +0000 (20:57 +0200)
data/nodes/casulana.debian.org.yaml
data/nodes/pettersson.debian.org.yaml [new file with mode: 0644]
modules/roles/manifests/cdbuilder.pp [new file with mode: 0644]

index d403e74..5bf1e9d 100644 (file)
@@ -1,5 +1,6 @@
 classes:
   - roles::static_source
+  - roles::cdbuilder
   - roles::cdbuilder_local_mirror
 
 roles::cdbuilder_local_mirror::listen_address: 172.29.103.1
diff --git a/data/nodes/pettersson.debian.org.yaml b/data/nodes/pettersson.debian.org.yaml
new file mode 100644 (file)
index 0000000..b6fc83e
--- /dev/null
@@ -0,0 +1,2 @@
+classes:
+  - roles::cdbuilder
diff --git a/modules/roles/manifests/cdbuilder.pp b/modules/roles/manifests/cdbuilder.pp
new file mode 100644 (file)
index 0000000..64c6928
--- /dev/null
@@ -0,0 +1,6 @@
+class roles::cdbuilder {
+  # debian-cd wants to make hardlinks to files it doesn't own; let it.
+  file { '/etc/sysctl.d/protect-links.conf':
+    ensure => absent,
+  }
+}