summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-30 13:41:31 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-30 13:41:31 +0100
commit668d947a6c51ada9691741583c42cd5e5a039931 (patch)
tree14563ce02fade62dfc00abae4a6d074fefc2c427
parentRemove cgit notify. (diff)
downloadwebdav_server-668d947a6c51ada9691741583c42cd5e5a039931.tar.gz
webdav_server-668d947a6c51ada9691741583c42cd5e5a039931.tar.xz
Add checksums for keyboard layouts.
-rw-r--r--modules/profiles/manifests/workstation.pp21
1 files changed, 15 insertions, 6 deletions
diff --git a/modules/profiles/manifests/workstation.pp b/modules/profiles/manifests/workstation.pp
index 9cff2f1..f106f8b 100644
--- a/modules/profiles/manifests/workstation.pp
+++ b/modules/profiles/manifests/workstation.pp
@@ -11,16 +11,25 @@ class profiles::workstation {
}
}
+ # NOTE Hard coding checksums here kind of defeats the point of
+ # pulling in data from above (since we no longer get updates),
+ # but since GitHub doesn't send checksum headers the files gets
+ # updated every time otherwise, which creates noise.
+
file { 'Dvorak A6 TTY keyboard layout':
- ensure => file,
- path => '/usr/share/kbd/keymaps/i386/dvorak/dvorak-sv-a6.map',
- source => 'https://raw.githubusercontent.com/HugoNikanor/keymaps/master/linux-tty/dvorak-sv-a6.map',
+ ensure => file,
+ path => '/usr/share/kbd/keymaps/i386/dvorak/dvorak-sv-a6.map',
+ checksum => 'md5',
+ checksum_value => '96be6c1aa81522db46673c0f68e3336a',
+ source => 'https://raw.githubusercontent.com/HugoNikanor/keymaps/master/linux-tty/dvorak-sv-a6.map',
}
file { 'Dvorak A6 X11 keyboard layout':
- ensure => file,
- path => '/usr/share/X11/xkb/symbols/planck',
- source => 'https://raw.githubusercontent.com/HugoNikanor/keymaps/master/X11/planck',
+ ensure => file,
+ path => '/usr/share/X11/xkb/symbols/planck',
+ checksum => 'md5',
+ checksum_value => '1f1023f6958916de592695cedbc94e5c',
+ source => 'https://raw.githubusercontent.com/HugoNikanor/keymaps/master/X11/planck',
}
$xkb_layout = 'planck'