Version information
Start using this module
Add this module to your Puppetfile:
mod 'jhoblitt-autofsck', '1.1.0'
Learn more about managing modules with a PuppetfileDocumentation
Puppet autofsck Module
Table of Contents
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 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.
Usage
Simple
include autofsck
Parameters
ensure
String
Possible values: 'present', 'absent'. Defaults to: 'present'
Enables or disables unattended fsck
ing 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
[Current]
- 4fb91aa - (Joshua Hoblitt) update README formatting + boilerplate
- 4a435a7 - (Joshua Hoblitt) Merge pull request #3 from jhoblitt/test_improvements
Test improvements
- f4ef10c - (Joshua Hoblitt) add rspec-puppet-augeas test coverage of Debian augeas resource
- 80f13c9 - (Joshua Hoblitt) trim travis test matrix
- 7982cd3 - (Joshua Hoblitt) fix rspec-puppet 1.0.1 deprecation warning
DEPRECATION: include_class is deprecated. Use contain_class instead.
Added basic debian support and simple tests
- fa40f52 - (Kyle Anderson) Added basic debian support and simple tests
- 46b5c7d - (Joshua Hoblitt) Revert "add coveralls support"
This reverts commit c7d4693f9516eaa8eae9f6dd294e2a43ea637efe.
- c7d4693 - (Joshua Hoblitt) add coveralls support
v1.0.2
- 3b58376 - (Joshua Hoblitt) bump version to v1.0.2
- 0e69fb5 - (Joshua Hoblitt) rm tests dir
- 8339ab6 - (Joshua Hoblitt) doc update
- 943f7c4 - (Joshua Hoblitt) add unit test coverage of the content of /etc/sysconfig/autofsck
- 36186ab - (Joshua Hoblitt) set stdlib requirement to 3.0.0
- 9205682 - (Joshua Hoblitt) puppet-lint should ignore pkg/**
- cdadff6 - (Joshua Hoblitt) add puppet 3.3.0 to travis test matrix
- 7f15d69 - (Joshua Hoblitt) exclude spec/fixtures/** from puppet-syntax checking
- 582a61c - (Joshua Hoblitt) install ruby gems from https://rubygems.org instead of :rubygems
To resolve this warning:
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or
'http://rubygems.org' if not.
- cbf3e42 - (Joshua Hoblitt) ignore patch related files *{.orig,.rej,.patch}
- 6e1413a - (Joshua Hoblitt) add puppet-syntax support
- 554521d - (Joshua Hoblitt) exclude travis-ci testing of puppet < 3.2 with ruby >= 2.0
- 052e764 - (Joshua Hoblitt) update copyright notices
- 6931036 - (Joshua Hoblitt) fix fixtures symlinks
- 4676309 - (Joshua Hoblitt) remove spec/fixtures/ and add that path to .gitignore
v1.0.1
- 058f57e - (Joshua Hoblitt) add a simple Changelog for the forge
- 5cb958a - (Joshua Hoblitt) fix negative tests
- e0ef681 - (Joshua Hoblitt) change module version to v1.0.1
- a255687 - (Joshua Hoblitt) enable travis-ci support
- 3d87af7 - (Joshua Hoblitt) cleanup code to pass puppet-lint and add the 'lint' rake target
- e8d5c2c - (Joshua Hoblitt) change license from GPLv2 or later to Apache 2.0
- a469139 - (Joshua Hoblitt) ignore pkg/ dir
- be08d5d - (Joshua Hoblitt) fix description quoting typo
- ddc3f10 - (Joshua Hoblitt) commented out broken negative tests for 1.0.0 release
- 1c8eff4 - (Joshua Hoblitt) ii
Dependencies
- puppetlabs/stdlib (>= 3.0.0)
Copyright (C) 2012-2013 Joshua Hoblitt <jhoblitt@cpan.org> 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.