diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2015-07-17 16:32:15 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2015-07-17 16:32:15 -0400 |
commit | 815ed9990397b5ec8486e69f22c018175ab7926c (patch) | |
tree | cfcfd6e7d7acd054ebc57ed601117a2dade1e8a5 | |
parent | fafd92202f8482d4bf220057513ab238446c68fb (diff) |
add a more complete example and justification for $tail
-rw-r--r-- | README.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -19,7 +19,17 @@ machine (the `$::domain` fact) and uses Google's recursive nameservers with the `$domain` and `$search` parameters. Extra options can be added at the end of the `resolv.conf` file with -the `$tail` argument. +the `$tail` argument. (Note that the `$tail` name was chosen because +`options` is Linux-specific and will vary on different platforms.) + +A more complete example: + + class { 'resolvconf': + nameservers => [ '8.8.8.8' ], + domain => 'example.com', + search => 'office.example.com bar.example.com', + tail => 'options timeout:1 attempts:3 rotate', + } See the `resolv.conf(5)` manpage for more information about those parameters and the syntax of the resolv.conf file. |