From 7f9786da29b414d94af99c77be7fe16a6e919fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 24 Jan 2022 11:11:45 +0100 Subject: Broke profiles into parts. --- manifests/workstation.pp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'manifests/workstation.pp') 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 } -- cgit v1.2.3