]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Feat: adds nodo::subsystem::fstrim
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Jan 2022 14:23:07 +0000 (11:23 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Jan 2022 14:23:07 +0000 (11:23 -0300)
manifests/subsystem/fstrim.pp [new file with mode: 0644]

diff --git a/manifests/subsystem/fstrim.pp b/manifests/subsystem/fstrim.pp
new file mode 100644 (file)
index 0000000..1086dea
--- /dev/null
@@ -0,0 +1,7 @@
+class nodo::subsystem::fstrim(
+  $enable = true,
+) {
+  service { 'fstrim.timer':
+    enable => true,
+  }
+}