From f65a2452b488c86c1e938d9400e9ccaffda0a344 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 6 Sep 2018 09:20:51 +0100 Subject: [PATCH] Revert "Add laptop GPU setup" This reverts commit 98d0c3df59590c0e2e78205f8188b12aeabb1620. --- .gitmodules | 3 --- modules/devices/manifests/laptop.pp | 19 +------------------ modules/kmod | 1 - 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 160000 modules/kmod diff --git a/.gitmodules b/.gitmodules index 7ad3d7a..d6fbe9b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,6 +7,3 @@ [submodule "modules/stdlib"] path = modules/stdlib url = https://github.com/puppetlabs/puppetlabs-stdlib -[submodule "modules/kmod"] - path = modules/kmod - url = https://github.com/camptocamp/puppet-kmod diff --git a/modules/devices/manifests/laptop.pp b/modules/devices/manifests/laptop.pp index d08f0df..a048676 100644 --- a/modules/devices/manifests/laptop.pp +++ b/modules/devices/manifests/laptop.pp @@ -2,11 +2,7 @@ class devices::laptop { package {[ 'ethtool', 'smartmontools', - 'tlp', - 'nvidia', - 'nvidia-settings', - 'bumblebee', - 'bbswitch' + 'tlp' ]: ensure => installed } @@ -16,19 +12,6 @@ class devices::laptop { -> service {'tlp-sleep': enable => true } - -> user { 'Update user groups': - name => 'jake', - groups => [ - 'input', - 'users', - 'wheel', - 'bumblebee' - ] - } - -> service { 'bumblebeed': - enable => true - } - -> kmod::load { 'nvidia': } file { 'TLP config': ensure => file, diff --git a/modules/kmod b/modules/kmod deleted file mode 160000 index ad51300..0000000 --- a/modules/kmod +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ad513009a503842bece35953943ce12a0e1503ee