Forge Home

autofsck

Enable unattended fsck on boot

11,647 downloads

10,414 latest version

3.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jhoblitt-autofsck', '1.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jhoblitt-autofsck
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jhoblitt-autofsck --version 1.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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