From 55840733e2b655d8146fd1e0b1f777bcf4781d57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20K=C3=A1cha?= <ph@cesnet.cz>
Date: Thu, 28 Nov 2013 14:03:59 +0100
Subject: [PATCH] Changed example paths from specific testing to more standard

---
 src/warden-client/doc/example-info.pl.txt          | 2 +-
 src/warden-client/doc/example-receiver.pl.txt      | 2 +-
 src/warden-client/doc/example-sender-random.pl.txt | 2 +-
 src/warden-client/doc/example-sender.pl.txt        | 2 +-
 src/warden-client/etc/warden-client.conf           | 6 +++---
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/warden-client/doc/example-info.pl.txt b/src/warden-client/doc/example-info.pl.txt
index f84e263..3a9d294 100755
--- a/src/warden-client/doc/example-info.pl.txt
+++ b/src/warden-client/doc/example-info.pl.txt
@@ -18,7 +18,7 @@ use strict;
 # This code should developer add into his/her application.
 
 # Path to warden-client directory
-my $warden_path = '/home/soukal/pokus/warden/warden-client/';
+my $warden_path = '/opt/warden-client/';
 
 # Inclusion of warden-client receiving functionality
 require $warden_path . '/lib/WardenClientCommon.pm';
diff --git a/src/warden-client/doc/example-receiver.pl.txt b/src/warden-client/doc/example-receiver.pl.txt
index ecfefc2..19a6287 100755
--- a/src/warden-client/doc/example-receiver.pl.txt
+++ b/src/warden-client/doc/example-receiver.pl.txt
@@ -18,7 +18,7 @@ use strict;
 # This code should developer add into his/her application.
 
 # Path to warden-client directory
-my $warden_path = '/home/soukal/pokus/warden/warden-client/';
+my $warden_path = '/opt/warden-client/';
 
 # Inclusion of warden-client receiving functionality
 require $warden_path . '/lib/WardenClientReceive.pm';
diff --git a/src/warden-client/doc/example-sender-random.pl.txt b/src/warden-client/doc/example-sender-random.pl.txt
index 07a9e77..bbbe80a 100755
--- a/src/warden-client/doc/example-sender-random.pl.txt
+++ b/src/warden-client/doc/example-sender-random.pl.txt
@@ -36,7 +36,7 @@ use Switch;
 use strict;
 use DateTime;
 
-my $warden_path = '/home/soukal/pokus/warden-2.2-beta-package/warden-client-2.2-beta-installation-3/dummy/foo/whatever/warden-client';
+my $warden_path = '/opt/warden-client';
 require $warden_path . '/lib/WardenClientSend.pm';
 
 my $service = "test";
diff --git a/src/warden-client/doc/example-sender.pl.txt b/src/warden-client/doc/example-sender.pl.txt
index e123eaf..ed5cbcc 100755
--- a/src/warden-client/doc/example-sender.pl.txt
+++ b/src/warden-client/doc/example-sender.pl.txt
@@ -45,7 +45,7 @@ my @event 		= ($service, $detected, $type, $source_type, $source,
 # (with corresponding paths appropriately changed).
 
 # Path to warden-client folder
-my $warden_path = '/home/soukal/pokus/warden/warden-client';
+my $warden_path = '/opt/warden-client';
 
 # Inclusion of warden-client sender module
 require $warden_path . '/lib/WardenClientSend.pm';
diff --git a/src/warden-client/etc/warden-client.conf b/src/warden-client/etc/warden-client.conf
index 34a06b1..8e25693 100644
--- a/src/warden-client/etc/warden-client.conf
+++ b/src/warden-client/etc/warden-client.conf
@@ -10,17 +10,17 @@ $URI = "https://warden-c.cesnet.cz:443/Warden";
 #-------------------------------------------------------------------------------
 # SSL_KEY_FILE - path to client SSL certificate key file
 #-------------------------------------------------------------------------------
-$SSL_KEY_FILE = "/home/soukal/client-test/2.0.0_beta/warden-client/etc/warden-c.cesnet.cz.key";
+$SSL_KEY_FILE = "/opt/warden-client/etc/warden-client-key.pem";
 
 #-------------------------------------------------------------------------------
 # SSL_CERT_FILE - path to client SSL certificate file
 #-------------------------------------------------------------------------------
-$SSL_CERT_FILE = "/home/soukal/client-test/2.0.0_beta/warden-client/etc/warden-c.cesnet.cz.pem";
+$SSL_CERT_FILE = "/opt/warden-client/etc/warden-client-cert.pem";
 
 #-------------------------------------------------------------------------------
 # SSL_CA_FILE - path to CA certificate file
 #-------------------------------------------------------------------------------
-$SSL_CA_FILE = "/etc/ssl/certs/tcs-ca-bundle.pem";
+$SSL_CA_FILE = "/opt/warden-client/etc/tcs-ca-bundle.pem";
 
 #-------------------------------------------------------------------------------
 # MAX_RCV_EVENTS_LIMIT - maximum number of events the client is allowd to get
-- 
GitLab