#!/usr/local/bin/perl # edit_push.cgi # Display a list of hosts to which configurations are copied require './cfengine-lib.pl'; &ui_print_header(undef, $text{'push_title'}, "", "push"); if (!&has_command($config{'cfrun'})) { print &text('push_ecmd', "$config{'cfrun'}", "$gconfig{'webprefix'}/config.cgi?$module_name"),"
\n"; &ui_print_footer("/", $text{'index'}); exit; } ($hosts, $opts) = &get_cfrun_hosts(); print "
\n"; if (@$hosts) { print &ui_hr(); print "\n"; } &ui_print_footer("", $text{'index_return'});