Initial refactoring
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
This commit is contained in:
parent
7b938abede
commit
1c7dffc32a
192 changed files with 547 additions and 430 deletions
31
modules/rhizo_base/manifests/fixes.pp
Normal file
31
modules/rhizo_base/manifests/fixes.pp
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Class: rhizo_base::fixes
|
||||
#
|
||||
# This module manages various system fixes
|
||||
#
|
||||
# Parameters: none
|
||||
#
|
||||
# Actions:
|
||||
#
|
||||
# Requires: see Modulefile
|
||||
#
|
||||
# Sample Usage:
|
||||
#
|
||||
class rhizo_base::fixes {
|
||||
#FSCK at boot
|
||||
file { '/etc/default/rcS':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/rhizomatica_base_system/etc/default/rcS',
|
||||
}
|
||||
|
||||
#Grub fix
|
||||
file { '/etc/default/grub':
|
||||
ensure => present,
|
||||
source => 'puppet:///modules/rhizomatica_base_system/etc/default/grub',
|
||||
notify => Exec['update-grub'],
|
||||
}
|
||||
|
||||
exec { 'update-grub':
|
||||
command => '/usr/sbin/update-grub',
|
||||
refreshonly => true,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue