Bigtop
view release on metacpan or search on metacpan
lib/Bigtop/Backend/HttpdConf/Gantry.pm view on Meta::CPAN
my $instance;
my $conffile;
if ( $gconf ) {
$skip_config = 1;
my $gantry_config = $tree->get_config->{Conf};
$instance = $gantry_config->{instance};
$conffile = $gantry_config->{conffile};
}
# let old timers go as before
$instance ||= $config->{instance } || 0;
$conffile ||= $config->{conffile } || 0;
if ( $instance and defined $config_type and $config_type ne 'base' ) {
$instance .= "_$config_type";
}
# first find the base location
my $location_output = $tree->walk_postorder( 'output_location' );
my $location = $location_output->[0] || ''; # default to host root
( run in 0.247 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )