|
Revision 1530, 0.5 kB
(checked in by kindlund, 9 months ago)
|
Updated utility functions.
|
- Property svn:executable set to
*
- Property svn:keywords set to
Id "$file"
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
use strict; |
|---|
| 6 |
use warnings; |
|---|
| 7 |
|
|---|
| 8 |
use Data::Dumper; |
|---|
| 9 |
use HoneyClient::Util::Config qw(getVar); |
|---|
| 10 |
use HoneyClient::Manager::Database; |
|---|
| 11 |
use Sys::Hostname::Long; |
|---|
| 12 |
use Log::Log4perl qw(:easy); |
|---|
| 13 |
|
|---|
| 14 |
our $LOG = get_logger(); |
|---|
| 15 |
|
|---|
| 16 |
my $args = { |
|---|
| 17 |
client_id => $ARGV[0], |
|---|
| 18 |
}; |
|---|
| 19 |
|
|---|
| 20 |
my $datastore_path = getVar(name => "datastore_path", namespace => "HoneyClient::Manager::VM"); |
|---|
| 21 |
my $snapshot_path = getVar(name => "snapshot_path", namespace => "HoneyClient::Manager::VM"); |
|---|
| 22 |
|
|---|
| 23 |
exit HoneyClient::Manager::Database::client_exists($args); |
|---|