ander
0e611af2a6
[__rsync] rewrite
2 years ago
fancsali
be92731c5c
Shell check quoting
...
We're actually echo-ing the command, hence the escape in front of the
quotes - the issue Shellcheck alludes too would actually occur, had the
escaping bakcslashes been omitted.
2 years ago
fancsali
d937d53f3d
Add quotes to rsync command
2 years ago
fancsali
2db40d8d70
Use $__remote_exec and thus the ssh multiplexing
2 years ago
Darko Poljak
644ec85d80
Fix SC2162.
4 years ago
Jonas Weber
ae7ccc5995
Fix SC2086 on all scripts
...
Relevant documentation: https://github.com/koalaman/shellcheck/wiki/SC2086
relates to: #540
This commit addresses 241 separate cases of missing quotes around
variables.
4 years ago
Darko Poljak
62378dc8b9
Change shebang to #!/bin/sh -e
6 years ago
Darko Poljak
9312bcb6b0
chmod +x *manifest *gencode-*
6 years ago
Darko Poljak
df566f4ff8
GPLv3+ relicensing.
7 years ago
Darko Poljak
0dfb4aee73
sphinx> ':manpage:' -> ':strong:'
7 years ago
Darko Poljak
f98208f250
Make man pages SEE ALSO by convention. Improve docs building.
7 years ago
Darko Poljak
51c94e9e82
Restructure and fix and improve docs and manpages.
7 years ago
Darko Poljak
b89077f9a5
Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory.
7 years ago
Darko Poljak
cf32b669ff
Write sphinx rst docs.
7 years ago
Christian Kruse
d1d065a3e1
fix: don't overwrite ownergroup but append
7 years ago
testing_rouxdo
97dc358dc6
added new section
8 years ago
testing_rouxdo
879ddefbdf
added second example for additional rsync options
8 years ago
testing_rouxdo
d91b478ae0
added rsync(1) in see also
8 years ago
testing_rouxdo
036f90165e
updated man.txt
...
inserted beginning "--" in front of every rsync-opts
8 years ago
testing_rouxdo
4f375a03c1
- added COPYING info
...
- added parameter rsync-opts
work need to be done:
- the rsync-opts gets ignored by cdist since the opts are --[OPTS] like and cdist takes this as a own parameter
8 years ago
Nico Schottelius
4496c579af
add warning for __rsync
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
8 years ago
Nico Schottelius
0ddc848b1e
add missing leading / to destination in case object_id is taken
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
8 years ago
Nico Schottelius
34253a5c30
update missing bits for __rsync
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
8 years ago
Nico Schottelius
9d25295e1a
use source, not source dir
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
8 years ago
Nico Schottelius
055eaed7ad
add hint for /
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
8 years ago
Nico Schottelius
3cc2f13b9b
add initial version of __rsync
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
8 years ago