equal
deleted
inserted
replaced
94 my $path = |
94 my $path = |
95 $config->{_}->{path} ? $config->{_}->{path} : '/root/Configs/Hosts/'; |
95 $config->{_}->{path} ? $config->{_}->{path} : '/root/Configs/Hosts/'; |
96 my $stamp = |
96 my $stamp = |
97 $config->{_}->{stamp} |
97 $config->{_}->{stamp} |
98 ? $config->{_}->{stamp} |
98 ? $config->{_}->{stamp} |
99 : '/var/tmp/get-config.stamp'; |
99 : '/var/lib/get-config.stamp'; |
100 |
100 |
101 debug( |
101 debug( |
102 "CONF remote username: $username", |
102 "CONF remote username: $username", |
103 "CONF destination path: $path", |
103 "CONF destination path: $path", |
104 "CONF stamp path: $stamp" |
104 "CONF stamp path: $stamp" |
313 |
313 |
314 I<username> is the remote login user for ssh and rsync process. I<path> is the absolute destination path on the remote machine where the files will be stored. I<stamp> is the absolute path on the local machine to create or touch an stamp file, you can use it e.g. for nagios (check_file_age). |
314 I<username> is the remote login user for ssh and rsync process. I<path> is the absolute destination path on the remote machine where the files will be stored. I<stamp> is the absolute path on the local machine to create or touch an stamp file, you can use it e.g. for nagios (check_file_age). |
315 |
315 |
316 username = root |
316 username = root |
317 path = /root/Configs/Hosts/ |
317 path = /root/Configs/Hosts/ |
318 stamp = /var/tmp/get-config.stamp |
318 stamp = /var/lib/get-config.stamp |
319 |
319 |
320 =head1 FILES |
320 =head1 FILES |
321 |
321 |
322 F</etc/send-config/config> |
322 F</etc/send-config/config> |
323 |
323 |