Enable unattended fsck on boot
A simple puppet module to enable automatic / forced / completely unattended
fsck
on boot up. Typically, this means passing the -y
flag to fsck
.
This module does not cause a fsck
to happen on every boot. It only takes
affect when a boot time fsck
is normally triggered.
On most operating systems, a boot time fsck
will only take place when the
operating system decides that a filesystem needs to be fsck
ed, typically due
to being 'unclean' or a time / mount number limit between checks has been hit.
These automatic boot time fsck
s can halt the boot process asking for
administrative interaction to approve making filesystem modifications. This is
done because fsck
can destroy data. By using this module you are
accepting the risk of fsck
destroying file system(s) at boot time.
include autofsck
ensure
String
Possible values: 'present', 'absent'. Defaults to: 'present'
Enables or disables unattended fsck
ing on boot.
class { autofsck:
ensure => present, # default
}
class { autofsck:
ensure => absent,
}
At present, only supports Debian and Redhat based distributions.
- el5.x
- el6.x
- Ubuntu/Debian
This module is versioned according to the Semantic Versioning 2.0.0 specification.
Please log tickets and issues at github