diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-13 14:44:11 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-13 14:44:11 +0100 |
commit | 91f9c74251eef60b138ef926c95009d779cedd22 (patch) | |
tree | dd5e5f7975af1e3fff552657ac7a8fccf8495283 | |
parent | arch builder remove pacman -Syu (diff) | |
download | pacman-91f9c74251eef60b138ef926c95009d779cedd22.tar.gz pacman-91f9c74251eef60b138ef926c95009d779cedd22.tar.xz |
Remove xmonad hook.
-rw-r--r-- | manifests/hook.pp | 3 |
1 files changed, 2 insertions, 1 deletions
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', |