whoo doggie. should check this in.
This commit is contained in:
@@ -49,8 +49,8 @@
|
||||
group: The group to chown the files/directories to (must be running as root user). If not
|
||||
specified, the default is the primary group for the current user (or the user calling
|
||||
sudo, if done via sudo).
|
||||
fileMode: The octal permissions to chmod the files to.
|
||||
dirMode: The octal permissions to chmod the directories to.
|
||||
fileMode: The octal permissions to chmod the files to (default is creation mode).
|
||||
dirMode: The octal permissions to chmod the directories to (default is creation mode).
|
||||
-->
|
||||
<localMirror
|
||||
user="foo"
|
||||
@@ -62,14 +62,21 @@
|
||||
The remoteMirror element is for rsyncing packages to a remote mirror/repo server. Rsync must be installed
|
||||
locally (it should; it's part of base-devel) *and* the remote server. Obviously, SSH pubkey auth must also
|
||||
be set up as well for the user. They must have a valid shell on the server for chmodding/chowning.
|
||||
If you don't need to modify remoteUser/remoteGroup/fileMode/dirMode, it's recommended to use rrsync on the
|
||||
remote mirror/repo server instead (https://www.samba.org/ftp/unpacked/rsync/support/rrsync) where possible.
|
||||
Attributes:
|
||||
user: The (remote) user to sync as (e.g. for "ssh foo@bar", user would be "foo").
|
||||
user: The (remote) user to sync as (e.g. for "ssh foo@bar", user would be "foo"). The default is
|
||||
the same as localMirror[user].
|
||||
server: The server to sync to. Can be an IP address, hostname (if resolvable), or FQDN.
|
||||
hardened: Can be "1"/"true" or "0"/"false". If true, only connect to servers we know the
|
||||
host key for (either in /etc/ssh/ssh_known_hosts or ~/.ssh/known_hosts).
|
||||
port: The remote SSH port.
|
||||
key: The pubkey to use to connect.
|
||||
remoteUser: The (remote) user to chown the files/directories to (must be connecting as root user).
|
||||
If not specified, the default is the connecting user ("user" attribute).
|
||||
remoteGroup: The (remote) group to chown the files/directories to (must be connecting as root user).
|
||||
remoteUser: The (remote) user to chown the files/directories to ("user" must be "root" for this
|
||||
to work).
|
||||
If not specified, the default is the connecting user.
|
||||
remoteGroup: The (remote) group to chown the files/directories to ("user" must be "root" for this
|
||||
to work).
|
||||
If not specified, the default is the connecting user's ("user" attribute) primary
|
||||
group.
|
||||
fileMode: The octal permissions to chmod the remote files to.
|
||||
@@ -78,6 +85,7 @@
|
||||
<remoteMirror
|
||||
user="foo"
|
||||
server="bar.domain.tld"
|
||||
hardened="false"
|
||||
port="22"
|
||||
key="~/.ssh/id_rsa"
|
||||
remoteUser="foo"
|
||||
|
||||
Reference in New Issue
Block a user