diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-14 23:58:17 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-14 23:58:17 +0200 |
commit | 5e517a3ff6f90e1b0e2b582e50feae23c64c5d23 (patch) | |
tree | 95d85ee12296ce9cf49e0a8cd9687914ce4caf45 /manifests | |
parent | Remove python3 from profiles::common::debian. (diff) | |
download | profiles-5e517a3ff6f90e1b0e2b582e50feae23c64c5d23.tar.gz profiles-5e517a3ff6f90e1b0e2b582e50feae23c64c5d23.tar.xz |
Add profiles::nosol.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/nosol.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/nosol.pp b/manifests/nosol.pp new file mode 100644 index 0000000..d0dced4 --- /dev/null +++ b/manifests/nosol.pp @@ -0,0 +1,11 @@ +# Ensure aisleriot isn't installed +class profiles::nosol { + ensure_packages(['aisleriot'], { ensure => absent }) + file { '/usr/bin/sol': + mode => '0755', + content => @(EOF) + #!/bin/sh + zenity --error --text "isleriot disabled" + | EOF + } +} |