/[smecontribs]/rpms/smeserver-affa/contribs7/smeserver-affa-0.9.0-defaultRemoteHostName.patch
ViewVC logotype

Contents of /rpms/smeserver-affa/contribs7/smeserver-affa-0.9.0-defaultRemoteHostName.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Feb 29 09:39:25 2008 UTC (16 years, 9 months ago) by mweinber
Branch: MAIN
CVS Tags: smeserver-affa-0_9_0-5_el4_sme, smeserver-affa-0_9_0-4_el4_sme, smeserver-affa-0_9_0-9_el4_sme, smeserver-affa-0_9_0-11_el4_sme
* Fri Feb 29 2008 Michael Weinberger 0.9.0-4
  set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs

1 --- smeserver-affa-0.9.0/root/etc/e-smith/templates/etc/cron.d/affa/00jobs.defaultRemoteHostName 2007-05-21 17:09:17.000000000 +0200
2 +++ smeserver-affa-0.9.0/root/etc/e-smith/templates/etc/cron.d/affa/00jobs 2008-02-29 10:07:36.000000000 +0100
3 @@ -30,7 +30,7 @@
4 my $status = $v->{'status'} || $defaultprops{'status'} || 'enabled';
5 next if $v->{'type'} ne 'job';
6 next if $k =~ /AFFA\.[a-z][a-z0-9\-]*\..*-\d*\.\d*\.\d*\.\d*/; # own backup
7 - $OUT .= "\n# Job '$k' is $status, $v->{'remoteHostName'}" . ($v->{'Description'} ? ", $v->{'Description'}" : "" ) . "\n";
8 + $OUT .= "\n# Job '$k' is $status, ". ($v->{'remoteHostName'}||'localhost') . ($v->{'Description'} ? ", $v->{'Description'}" : "" ) . "\n";
9 next if $status ne 'enabled';
10 my @u = split(",", ($v->{'TimeSchedule'}||$defaultprops{'TimeSchedule'}||''));
11 my @s;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed