change owner on remote file
This commit is contained in:
parent
40e3219998
commit
dc17f977c0
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class md_signer($dest_host="localhost",$dest_dir="") {
|
||||||
ssh_privkey => safe_hiera("publisher_ssh_privkey","NOT SET IN HIERA")
|
ssh_privkey => safe_hiera("publisher_ssh_privkey","NOT SET IN HIERA")
|
||||||
} ->
|
} ->
|
||||||
sunet::scriptherder::cronjob { "${name}-publish":
|
sunet::scriptherder::cronjob { "${name}-publish":
|
||||||
cmd => "/usr/local/bin/mirror-mdq.sh http://localhost root@${dest_host}:${dest_dir}",
|
cmd => "env RSYNC_ARGS='--chown=www-data:www-data' /usr/local/bin/mirror-mdq.sh http://localhost root@${dest_host}:${dest_dir}",
|
||||||
minute => '*/5',
|
minute => '*/5',
|
||||||
ok_criteria => ['exit_status=0'],
|
ok_criteria => ['exit_status=0'],
|
||||||
warn_criteria => ['max_age=30m']
|
warn_criteria => ['max_age=30m']
|
||||||
|
|
Loading…
Add table
Reference in a new issue