From b417abd95fca765f12bee1b94fdebd48f701e56b Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Thu, 19 May 2016 09:26:35 +0200 Subject: Remove /comments from test - replace with oplog --- ansible/roles/test/vars/main.yml | 2 +- extras/tools/deplist.sh | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100755 extras/tools/deplist.sh diff --git a/ansible/roles/test/vars/main.yml b/ansible/roles/test/vars/main.yml index 983619c..c199066 100644 --- a/ansible/roles/test/vars/main.yml +++ b/ansible/roles/test/vars/main.yml @@ -6,6 +6,6 @@ simple_urls: - "/api/public/dhcp" - "/api/public/dhcp-summary" read_urls: - - "/api/read/comments" + - "/api/read/oplog" - "/api/read/snmp" - "/api/read/switches-management" diff --git a/extras/tools/deplist.sh b/extras/tools/deplist.sh deleted file mode 100755 index cd2ecc0..0000000 --- a/extras/tools/deplist.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# Generate a dependency list for debian packages needed to work -# -# This is ... somewhat extensive. And a good incentive for people to clean -# up their mess. - -( -cat <<_EOF_ -use lib '../include'; -use lib '../web/streamlib'; -_EOF_ -find ../ -name '*pl' -exec egrep '^use ' {} \; | sort | uniq -cat <<_EOF_ -foreach my \$key (keys %INC) { - if (\$INC{\$key} =~ m/^\./) { - next; - } - print \$INC{\$key} . "\n"; -} -_EOF_ -) | perl 2>/dev/null | xargs realpath | xargs dpkg -S | awk '{print $1}' | sed 's/:$//' | sort | uniq -- cgit v1.2.3