summaryrefslogtreecommitdiff
path: root/manifests/workstation.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-10-02 18:46:12 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-10-02 18:46:12 +0200
commit0f3839734465de39c27ac0abcb91e9bdeef5e93d (patch)
tree443a64921db3add5e5c9ecb95450b793cf4c6ad6 /manifests/workstation.pp
parentSplit workstation into X and non-X part. (diff)
downloadprofiles-0f3839734465de39c27ac0abcb91e9bdeef5e93d.tar.gz
profiles-0f3839734465de39c27ac0abcb91e9bdeef5e93d.tar.xz
Move cowsay and envirnoment setup to own profiles.
Diffstat (limited to '')
-rw-r--r--manifests/workstation.pp18
1 files changed, 1 insertions, 17 deletions
diff --git a/manifests/workstation.pp b/manifests/workstation.pp
index a121042..a60973f 100644
--- a/manifests/workstation.pp
+++ b/manifests/workstation.pp
@@ -44,23 +44,7 @@ class profiles::workstation (
}}),
}
- $cowpath = [
- '/usr/share/cows',
- '/usr/local/share/cows',
- ]
-
- # Merge everything from hiera, but provide defeaults for
- # non-overwritten values.
- $default_environment = {
- 'COWPATH' => $cowpath.join(':'),
- }
- $user_environment = lookup('environment', undef, 'hash', {})
- $environment = $default_environment + $user_environment
-
- file { '/etc/environment':
- content => epp('profiles/keyvalue.epp', { values => $environment }),
- }
-
+ include ::profiles::cowsay
include ::profiles::sudo
include ::profiles::mounts
}