autofsck

Enable unattended fsck on boot

Joshua Hoblitt

jhoblitt

10,272 downloads

9,258 latest version

3.5 quality score

Version information

  • 1.1.0 (latest)
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Dec 22nd 2013

Start using this module

Documentation

jhoblitt/autofsck — version 1.1.0 Dec 22nd 2013

Puppet autofsck Module

Build Status

Table of Contents

  1. Overview
  2. Description
  3. Usage
  4. Limitations
  5. Versioning
  6. Support
  7. See Also

Overview

Enable unattended fsck on boot

Description

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 fscked, typically due to being 'unclean' or a time / mount number limit between checks has been hit. These automatic boot time fscks 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.

Usage

Simple

    include autofsck

Parameters

  • ensure

String Possible values: 'present', 'absent'. Defaults to: 'present'

Enables or disables unattended fscking on boot.

Enable

    class { autofsck:
      ensure => present, # default
    }

Disable

    class { autofsck:
      ensure => absent,
    }

Limitations

At present, only supports Debian and Redhat based distributions.

Tested Platforms

  • el5.x
  • el6.x
  • Ubuntu/Debian

Versioning

This module is versioned according to the Semantic Versioning 2.0.0 specification.

Support

Please log tickets and issues at github

See Also