Manage /etc/resolv.conf with puppet.
resolvconf: Main class.
The idea is to be able to globally include the
resolvconf class on all nodes.
From there, hiera with puppet 3.x allows to start managing the
/etc/resolv.conf file's content in a very flexible way.
hieradata somewhere :
--- classes: - '::resolvconf' resolvconf::header: '' resolvconf::nameserver: - '198.51.100.1' - '198.51.100.2' resolvconf::search: - 'foo.example.com' - 'bar.example.com' - 'example.com'
This way, only nodes where the Hiera values apply get their
file modified by Puppet.
2013-07-17 - 0.0.3
- Add missing @ prefix for variables in the template.
2013-05-07 - 0.0.2
- Add support for domain parameter.
- Add support for changing or removing the default "do not edit" header.
2013-05-07 - 0.0.1
- Initial module release.
Copyright (C) 2013 Matthias Saou 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.