From 51d4c9c801ac9941bdf9b8b3b231d3394010f59d Mon Sep 17 00:00:00 2001 From: Joseph Mulloy Date: Thu, 13 Aug 2015 11:13:11 -0400 Subject: [PATCH] Clarify use of priority parameter in README --- README.md | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 60f59922..02328ed0 100644 --- a/README.md +++ b/README.md @@ -195,14 +195,38 @@ end Priority -------- -Priority is a relatively new addition to the cookbook. It gives you the ability to (somewhat) specify the relative order of entries. By default, the priority is calculated for you as follows: - -82. 127.0.0.1 -81. ::1 -80. 127.0.0.0/8 -60. IPV4 -20. IPV6 -00. default +Priority is a relatively new addition to the cookbook. It gives you the ability to (somewhat) specify the relative order of entries. Entries with a higher number will be placed closer to the top of the file than those with a lower number. By default, the priority is calculated for you as follows: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PriorityHost
82127.0.0.1
81::1
80127.0.0.0/8
60IPV4
20IPV6
0default
However, you can override it using the `priority` option.