]> xn--ix-yja.es Git - alex.git/commitdiff
Support EL9
authoralex <alex@pdp7.net>
Sun, 5 Feb 2023 16:26:08 +0000 (17:26 +0100)
committeralex <alex@pdp7.net>
Sun, 5 Feb 2023 16:26:28 +0000 (17:26 +0100)
personal_infra/puppet/modules/tinc/manifests/init.pp

index 8e6dfe17214137dcc803beb0beeb760fecfebfef..be37330214d308f01db18b6f7c7edb9ed19dfc3d 100644 (file)
@@ -1,4 +1,14 @@
 class tinc($tinc_name, $tinc_location, $tinc_connect_to, $tinc_locations, $tinc_ip, $tinc_netmask, $tinc_other_networks) {
+  # https://bugzilla.redhat.com/show_bug.cgi?id=2153663
+  if($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '9') {
+    copr {'tinc':
+      user => 'koalillo',
+      dist => 'epel-9',
+    }
+    ->
+    Package['tinc']
+  }
+
   package {'tinc':}
   ->
   file {'/etc/tinc':