parent
c81616070b
commit
f65a2452b4
3 changed files with 1 additions and 22 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,6 +7,3 @@
|
||||||
[submodule "modules/stdlib"]
|
[submodule "modules/stdlib"]
|
||||||
path = modules/stdlib
|
path = modules/stdlib
|
||||||
url = https://github.com/puppetlabs/puppetlabs-stdlib
|
url = https://github.com/puppetlabs/puppetlabs-stdlib
|
||||||
[submodule "modules/kmod"]
|
|
||||||
path = modules/kmod
|
|
||||||
url = https://github.com/camptocamp/puppet-kmod
|
|
||||||
|
|
|
@ -2,11 +2,7 @@ class devices::laptop {
|
||||||
package {[
|
package {[
|
||||||
'ethtool',
|
'ethtool',
|
||||||
'smartmontools',
|
'smartmontools',
|
||||||
'tlp',
|
'tlp'
|
||||||
'nvidia',
|
|
||||||
'nvidia-settings',
|
|
||||||
'bumblebee',
|
|
||||||
'bbswitch'
|
|
||||||
]:
|
]:
|
||||||
ensure => installed
|
ensure => installed
|
||||||
}
|
}
|
||||||
|
@ -16,19 +12,6 @@ class devices::laptop {
|
||||||
-> service {'tlp-sleep':
|
-> service {'tlp-sleep':
|
||||||
enable => true
|
enable => true
|
||||||
}
|
}
|
||||||
-> user { 'Update user groups':
|
|
||||||
name => 'jake',
|
|
||||||
groups => [
|
|
||||||
'input',
|
|
||||||
'users',
|
|
||||||
'wheel',
|
|
||||||
'bumblebee'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
-> service { 'bumblebeed':
|
|
||||||
enable => true
|
|
||||||
}
|
|
||||||
-> kmod::load { 'nvidia': }
|
|
||||||
|
|
||||||
file { 'TLP config':
|
file { 'TLP config':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit ad513009a503842bece35953943ce12a0e1503ee
|
|
Loading…
Reference in a new issue