#!/home/product/code/webui-perl/bin/perl -T -I /home/product/code/firmware/current/lib/perl5
#SUDOER_USERS: nobody
#SUDOER_RUNAS_USERS: root, mta
#SUDOER_TAGS: NOPASSWD, EXEC
use strict;
use warnings;
use Barracuda::Sudo::Lib;

=pod

=head1 NAME

check_if_clustered

=head1 DESCRIPTION

Wrapper for /home/product/code/firmware/current/bin/check_if_clustered.pl with --remote,
--dest <server>

=cut

my @args = get_args(is_ip_address_or_hostname);
exit system('/home/product/code/firmware/current/bin/check_if_clustered.pl', '--remote', '--dest', $args[0]) >> 8;
