Version information
released Sep 10th 2014
This version is compatible with:
- Puppet Enterprise 3.2.x
- Puppet 3.2.x
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'lexance-hosts', '1.0.5'
Learn more about managing modules with a PuppetfileDocumentation
lexance/hosts — version 1.0.5 Sep 10th 2014
/etc/hosts Puppet Module
Manage (dualstack-)hosts in /etc/hosts .
Requirements
- puppetlabs/stdlib >= 4.0.0
Usage
Various alt hostnames my be specified. IP Addresses are validated. At least a IPv4 OR IPv6 address must be specified.
class { 'hosts':
hosts => {
'sidious.local' => {alt =>['sidious', 'puppet'], ipv4 => '192.168.2.1, ipv6 => 'fdc9:7739:4b55:da6:0:0:0:2'},
'vader.local' => {alt =>['vader'], ipv4 => '192.168.2.2', ipv6 => 'fdc9:7739:4b55:da6:0:0:0:10'}
}
}
Dependencies
- puppetlabs/stdlib (>= 4.2.0)
- puppetlabs/stdlib (>= 4.2.0)
- puppetlabs/stdlib (>= 4.2.0)
Copyright 2014 Victor J. C. Geyer 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.