diff --git a/Web-Plugin-RANCID/Changes b/Web-Plugin-RANCID/Changes index ecae509d..35146aae 100644 --- a/Web-Plugin-RANCID/Changes +++ b/Web-Plugin-RANCID/Changes @@ -1,3 +1,7 @@ +2.003002 - 2014-05-03 + + * POD fixups + 2.003001 - 2014-02-04 * Change to use %DEVICE% as well - full url must be configured in location diff --git a/Web-Plugin-RANCID/META.yml b/Web-Plugin-RANCID/META.yml index 0fae7cb2..53c7c1e6 100644 --- a/Web-Plugin-RANCID/META.yml +++ b/Web-Plugin-RANCID/META.yml @@ -24,4 +24,4 @@ resources: homepage: http://netdisco.org/ license: http://opensource.org/licenses/bsd-license.php repository: git://git.code.sf.net/p/netdisco/netdisco-ng -version: '2.003001' +version: 2.003002 diff --git a/Web-Plugin-RANCID/lib/App/NetdiscoX/Web/Plugin/RANCID.pm b/Web-Plugin-RANCID/lib/App/NetdiscoX/Web/Plugin/RANCID.pm index ba8a5136..759130aa 100644 --- a/Web-Plugin-RANCID/lib/App/NetdiscoX/Web/Plugin/RANCID.pm +++ b/Web-Plugin-RANCID/lib/App/NetdiscoX/Web/Plugin/RANCID.pm @@ -1,6 +1,6 @@ package App::NetdiscoX::Web::Plugin::RANCID; -our $VERSION = '2.003001'; +our $VERSION = '2.003002'; use Dancer ':syntax'; @@ -58,8 +58,7 @@ App::NetdiscoX::Web::Plugin::RANCID - Link to device backups in RANCID/WebSVN - X::RANCID plugin_rancid: - location: 'https://websvn-server.example.com/rancid/%GROUP%/' - open_in_same_window: false + location: 'https://websvn-server.example.com/rancid/%DEVICE%' =head1 Description @@ -89,12 +88,12 @@ The text "C<%GROUP%>" will be replaced with the group name for this device, if known to Netdisco. This uses the same configuration as for L, an example of which is below: -rancid: - by_ip: [ other ] - groups: - switch: [ 'name:.*[Ss][Ww].*' ] - rtr: [ 'name:[rR]tr.*' ] - ap: [ 'name:[aA][pP].*' ] + rancid: + by_ip: [ other ] + groups: + switch: [ 'name:.*[Ss][Ww].*' ] + rtr: [ 'name:[rR]tr.*' ] + ap: [ 'name:[aA][pP].*' ] Briefly, each group value is a list of rules for matching devices similar to those used by any C<*_only> configuration item. You can provide an IP, subnet @@ -103,7 +102,7 @@ regular expression as in the above example. The device DNS name is used, or if missing the device SNMP sysName. Adding the group to the list in C will make the link include the device IP -instead. +instead of the name. =head2 open_in_same_window