diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-12 16:55:31 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-12 16:55:31 +0100 |
commit | 3a6f73d9d8b7c727f9c1c0233bf9c71389c7f1e8 (patch) | |
tree | baebb5d6d059b1ee31bfd0562a8e0e5f9b2cbaf9 | |
parent | e89d2ca26cbae455e400659a735b87521c2cc96b (diff) | |
download | puppet.KATH-3a6f73d9d8b7c727f9c1c0233bf9c71389c7f1e8.tar.gz puppet.KATH-3a6f73d9d8b7c727f9c1c0233bf9c71389c7f1e8.tar.bz2 puppet.KATH-3a6f73d9d8b7c727f9c1c0233bf9c71389c7f1e8.zip |
site.pp: Add class 'ensure_roaming_workstation'.
-rw-r--r-- | code/environments/production/manifests/site.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 9ba7649..488ede9 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -258,6 +258,27 @@ class fsautoresizetab { } } +class ensure_roaming_workstation { + + file_line { 'debianedu_profile_roamingworkstation': + path => '/etc/debian-edu/config', + ensure => present, + line => "PROFILE=\"Roaming-Workstation\"", + match => '^PROFILE=.*', + } + + exec { 'convert_to_profile_roamingworkstation': + command => "/usr/sbin/cf-agent -I -D installation", + subscribe => File_Line['debianedu_profile_roamingworkstation'], + refreshonly => true, + } + + package { 'itzks-systems-roamingworkstation': + ensure => 'latest', + } +} + + node "disklserver.intern" { class { 'ssh_pubkeys_admins': } class { 'ssh_pubkeys_firedadmins': } |