Version information
released Jun 18th 2015
This version is compatible with:
- Gentoo, Debian, Solaris, RedHat
Start using this module
Add this module to your Puppetfile:
mod 'hacking-autofs', '0.2.2'
Learn more about managing modules with a PuppetfileDocumentation
hacking/autofs — version 0.2.2 Jun 18th 2015
Autofs module for Puppet
Description
Puppet module for managing Autofs mountpoints and files.
Some Contrived Example usage
autofs::include { 'portage': mount_base => '/mnt/auto/portage', options => '--timeout=30 --ghost', }
autofs::mount { 'distfiles':
device => "portage:/mnt/repositories/distfiles",
options => 'rsize=8192,wsize=8192,soft,timeo=30,rw,vers=3',
mapfile => 'portage',
}
autofs::mount { 'packages':
device => "portage:/mnt/repositories/packages",
options => 'rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3',
mapfile => 'portage',
}
Resulting files
/etc/autofs/auto.master
# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!
/mnt/auto/portage /etc/autofs/auto.portage --timeout=30 --ghost
/etc/autofs/auto.portage
# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!
distfiles -rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3 portage:/mnt/repositories/distfiles
packages -rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3 portage:/mnt/repositories/packages
Changelog
hacking-autofs-0.2.2 (2015-06-18)
Fix
- README.md now reflects reality. [Max Hacking]
hacking-autofs-0.2.1 (2015-04-28)
---------------------------------
Fix
- Operating system support section of metadata.json is now correct. [Max Hacking]
hacking-autofs-0.2.0 (2015-04-28)
New
- Autofs module is now compatible with Debian, Solaris and RedHat based
distributions! [Max Hacking]
Changes
-
Mountpoint parameter to autofs::include is now named sub_mount. [Max Hacking]
-
/etc/conf.d/autofs (when present) now notifies service when modified. [Max Hacking]
Fix
- /etc/autofs.{master,misc} files are now only deleted when they should
be located in /etc/autofs/ [Max Hacking]
hacking-autofs-0.1.0 (2015-04-20)
---------------------------------
- First revision. [Max Hacking]
Dependencies
- puppetlabs/concat (>=0.2.0)
Copyright (C) 2012 Portland State University 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.