# HG changeset patch # User Peter Gervai # Date 1412341536 -7200 # Node ID b78794f00e3439487e99b9cd68e98ca3d50bdf8f # Parent 26fed0d59d7ceb91cb2eccfa7a5fa02aeee66f0e Add dottr.pl login file and update the description a wee bit diff -r 26fed0d59d7c -r b78794f00e34 DatabaseLoginData.pm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DatabaseLoginData.pm Fri Oct 03 15:05:36 2014 +0200 @@ -0,0 +1,8 @@ +# databadse login data +package DatabaseLoginData; + +our $db_user = "racktables_user"; +our $db_pw = "guljicbibatvo"; +our $db_host = "rtdb.example.com"; + +1; diff -r 26fed0d59d7c -r b78794f00e34 dottr.pl --- a/dottr.pl Fri Oct 03 15:01:17 2014 +0200 +++ b/dottr.pl Fri Oct 03 15:05:36 2014 +0200 @@ -1,11 +1,16 @@ #!/usr/bin/perl ##$Id: dottr.pl,v ac49839c1b85 2014/10/03 12:46:32 grin $ # -# (c) Peter 'grin' Gervai, 2012 -# Released under CreativeCommons-Attribution-ShareAlike-3.0-Unported +# (c) Peter 'grin' Gervai, 2012-2014 +# Released under CreativeCommons-Attribution-ShareAlike-4.0 # # create .dot from racktables links # +# ./dottr.pl > map.dot +# +# create graphic from dot: +# dot -Tpng -o map.png map.dot +# dot -Tsvg -o map.svg map.dot use DBI; use Encode;