Forge Home

autofsck

Enable unattended fsck on boot

11,756 downloads

10,494 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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