From 91f9c74251eef60b138ef926c95009d779cedd22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 13 Feb 2022 14:44:11 +0100 Subject: Remove xmonad hook. --- manifests/hook.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/hook.pp b/manifests/hook.pp index f8478e6..a9b57ec 100644 --- a/manifests/hook.pp +++ b/manifests/hook.pp @@ -9,6 +9,7 @@ type Pacman::Trigger = Struct[{ }] define pacman::hook ( + Enum['present', 'absent'] $ensure = 'present', Integer $priority = 50, Optional[String] $description = undef, Enum['PreTransation', 'PostTransaction'] $when, @@ -71,7 +72,7 @@ define pacman::hook ( $chksum = $str.md5() file { $chksum: - ensure => 'present', + ensure => $ensure, content => $str, path => "${pacman::hooks_path}/${priority}-${name}.hook", checksum => 'md5', -- cgit v1.2.3