2011-05-13 22:43:58 -06:00
|
|
|
.TH salt-cp 1 "May 2011" "salt 0.8.7" "salt-cp Manual"
|
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
salt-cp \- Copy a file to a set of systems
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
2011-05-14 17:10:56 -06:00
|
|
|
.B salt-cp '*' [ options ] \fISOURCE DEST\fR
|
2011-05-13 22:43:58 -06:00
|
|
|
|
2011-05-14 17:10:56 -06:00
|
|
|
.B salt-cp -E '.*' [ options ] \fISOURCE DEST\fR
|
2011-05-13 22:43:58 -06:00
|
|
|
|
2011-05-14 17:10:56 -06:00
|
|
|
.B salt-cp -G 'os:Arch.*' [ options ] \fISOURCE DEST\fR
|
2011-05-13 22:43:58 -06:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Salt copy copies a local file out to all of the salt minions matched by the given target.
|
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
-h, --help
|
|
|
|
Print a usage message briefly summarizing these command-line options
|
|
|
|
|
|
|
|
.TP
|
|
|
|
-t TIMEOUT, --timeout=TIMEOUT
|
|
|
|
The timeout in seconds to wait for replies from the salt minions.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
-E, --pcre
|
2011-05-26 12:17:02 +01:00
|
|
|
The target expression will be interpreted as a pcre regular expression rather than a shell glob.
|
2011-05-13 22:43:58 -06:00
|
|
|
|
|
|
|
.TP
|
|
|
|
-L, --list
|
2011-05-26 12:17:02 +01:00
|
|
|
The target expression will be interpreted as a comma delimited list,
|
|
|
|
example: server1.foo.bar,server2.foo.bar,example7.quo.qux
|
2011-05-13 22:43:58 -06:00
|
|
|
|
|
|
|
.TP
|
2011-05-13 22:54:36 -06:00
|
|
|
-G, --grain
|
2011-05-26 12:17:02 +01:00
|
|
|
The target expression matches values returned by the salt grains system on the
|
|
|
|
minions. The target expression is in the format of '<grain value>:<pcre regular expression>';
|
|
|
|
example: 'os:Arch.*'
|
2011-05-13 22:43:58 -06:00
|
|
|
|
|
|
|
.TP
|
|
|
|
-Q, --query
|
2011-05-26 12:17:02 +01:00
|
|
|
Execute a salt command query, this can be used to find the results os a previous
|
|
|
|
function call: -Q test.echo')
|
2011-05-13 22:43:58 -06:00
|
|
|
|
|
|
|
.TP
|
|
|
|
-c CONFIG, --config=CONFIG
|
2011-05-26 12:17:02 +01:00
|
|
|
The location of the salt master configuration file, the salt master settings are
|
|
|
|
required to know where the connections are; default=/etc/salt/master
|
2011-05-13 22:43:58 -06:00
|
|
|
|
|
|
|
.SH AUTHORS
|
|
|
|
Thomas S. Hatch <thatch@gmail.com>
|