diff options
Diffstat (limited to 'manifests/subsystems/initramfs.pp')
-rw-r--r-- | manifests/subsystems/initramfs.pp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/manifests/subsystems/initramfs.pp b/manifests/subsystems/initramfs.pp deleted file mode 100644 index 17296a2..0000000 --- a/manifests/subsystems/initramfs.pp +++ /dev/null @@ -1,39 +0,0 @@ -class initramfs( - $keymap = hiera('nodo::initramfs::keymap', 'absent') -) { - # initramfs config - file { "/etc/kernel-img.conf": - owner => "root", - group => "root", - mode => 0644, - ensure => present, - content => "do_initrd = Yes\n", - } - - # initramfs config - file { "/etc/initramfs-tools/modules": - owner => "root", - group => "root", - mode => 0644, - ensure => present, - source => "puppet:///modules/nodo/etc/initramfs-tools/modules", - } - - # keymap - file { "/etc/initramfs-tools/conf.d/keymap.conf": - ensure => $keymap, - content => "KEYMAP=Y\n", - owner => "root", - group => "root", - mode => 0644, - } - - # update initramfs when needed - exec { "update-initramfs -v -t -u": - subscribe => [ File["/etc/initramfs-tools/modules"], - File["/etc/modprobe.d/blacklist"], - File["/etc/initramfs-tools/conf.d/keymap.conf"] ], - refreshonly => true, - alias => 'update-initramfs', - } -} |