Forge Home

fstab

The fstab module helps puppet manage entries in fstab.

426,983 downloads

424,665 latest version

3.6 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

  • 0.5.4 (latest)
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.4.0
  • 0.3.0
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
released Oct 11th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'AlexCline-fstab', '0.5.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add AlexCline-fstab
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install AlexCline-fstab --version 0.5.4

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
Tags: augeas, linux, fstab

Documentation

AlexCline/fstab — version 0.5.4 Oct 11th 2013

fstab

The fstab module helps puppet manage entries in fstab.

This module will add and remove entries from fstab. It will not manage mount points or permissions. If you need to manage directories for mounts, check out the AlexCline-mounts module.

Examples

fstab { 'A test fstab entry':
  source => '/dev/sdb2',
  dest   => '/mnt/foobar',
  type   => 'ext4',
}

fstab { 'Another test fstab entry':
  source => 'ahost:/data',
  dest   => '/data',
  type   => 'nfs',
  opts   => 'defaults,noatime,nofail,ro',
  dump   => 0,
  passno => 0,
}

fstab { 'Remove A test fstab entry':
  source => '/dev/sdb2',
  dest   => '/mnt/foobar',
  type   => 'ext4',
  ensure => absent,
}

fstab { 'Remove Another test fstab entry':
  source => 'ahost:/data',
  dest   => '/data',
  type   => 'nfs',
  ensure => absent,
}

Dependencies

This module depends on PuppetLab's stdlib module.

Support

Please file tickets and issues using GitHub Issues

License

Copyright 2013 Alex Cline alex.cline@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.