diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-24 11:11:45 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-09 18:06:12 +0100 |
commit | 7f9786da29b414d94af99c77be7fe16a6e919fba (patch) | |
tree | 29b378d810ccc0977d90a1eb86a01305a322b3b8 /manifests/workstation.pp | |
parent | profiles::puppetagent add extra_args param. (diff) | |
download | profiles-7f9786da29b414d94af99c77be7fe16a6e919fba.tar.gz profiles-7f9786da29b414d94af99c77be7fe16a6e919fba.tar.xz |
Broke profiles into parts.
Diffstat (limited to 'manifests/workstation.pp')
-rw-r--r-- | manifests/workstation.pp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/manifests/workstation.pp b/manifests/workstation.pp index 051f3fc..d70fa57 100644 --- a/manifests/workstation.pp +++ b/manifests/workstation.pp @@ -12,6 +12,8 @@ class profiles::workstation ( include ::profiles::group_profile + include ::profiles::repo + if ($facts['systemd']) { file { 'User ssh-agent service': path => '/etc/systemd/user/ssh-agent.service', @@ -119,17 +121,6 @@ class profiles::workstation ( source => 'puppet:///modules/profiles/passmenu', } - file { '/etc/sudoers': - validate_cmd => '/usr/bin/visudo -cf %', - content => @(EOF) - Defaults insults - root ALL=(ALL) ALL - %root ALL=(ALL) ALL - %wheel ALL=(ALL) ALL - - @includedir /etc/sudoers.d - | EOF - } - + include ::profiles::sudo include ::profiles::mounts } |