Version information
released Jun 16th 2015
This version is compatible with:
- Puppet Enterprise >= 3.2.0
- Puppet >= 3.2.0
- Gentoo, FreeBSD, Solaris, Archlinux , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'pdxcat-autofs', '1.1.0'
Learn more about managing modules with a PuppetfileDocumentation
pdxcat/autofs — version 1.1.0 Jun 16th 2015
Autofs module for Puppet
Description
Puppet module for managing Autofs mountpoints and files.
Some Contrived Example usage
autofs::mount { '/home':
map => 'ldap:ou=home,ou=autofs,dc=cat,dc=pdx,dc=edu',
options => '-rw,hard,intr,nosuid,nobrowse',
}
autofs::mount { '/cat':
map => 'ldap:ou=cat,ou=autofs,dc=cat,dc=pdx,dc=edu',
options => '-ro,hard,intr,nosuid,browse',
}
autofs::include { 'auto.web': }
autofs::mount { '/www':
map => 'ldap:ou=www,ou=autofs,dc=cat,dc=pdx,dc=edu',
options => '-rw,hard,intr,nosuid,browse',
mapfile => '/etc/auto.web',
}
autofs::include { 'auto.local': }
Resulting files
/etc/auto.master
/cat ldap:ou=cat,ou=autofs,dc=cat,dc=pdx,dc=edu -ro,hard,intr,nosuid,browse
/home ldap:ou=home,ou=autofs,dc=cat,dc=pdx,dc=edu -rw,hard,intr,nosuid,nobrowse
+auto.local
+auto.web
/etc/auto.web
/www ldap:ou=www,ou=autofs,dc=cat,dc=pdx,dc=edu -rw,hard,intr,nosuid,browse
/etc/auto.local
This file is not managed by puppet, and so there is no way to know what its contents will be. Puppet doesn't care.
2015-06-16 Release 1.1.0
- Enable TravisCI and add Gemfile
- Add metadata.json
- fixed puppet-lint errors
- added concat resource
- added concat resource
- Remove deprecated concat::setup class
- fix lint warning
- just install autofs-ldap, dependencies will take care of the rest
- Put options at the end only in master file. Else between key and location
- Fix ordering issue with preamble fragment
- Adding a puppet comment in the managed files
2013-09-28 Release 1.0.0
Summary:
Improved validation and permit ensuring the absense of mounts
Backwards-incompatible changes:
- Update dependency on concat to use puppetlabs-concat
Features:
- Improved input validation
- Add autofs direct mount
- Add ensure parameter to autofs::mount
Dependencies
- puppetlabs/stdlib (>= 3.0.0)
- puppetlabs/concat (>= 1.0.4)
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.