aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-02-02 18:42:30 +0100
committerLudovic Courtès <ludo@gnu.org>2022-02-02 18:43:08 +0100
commit9408a4edcb3fd44691f543b1fcceb90a26b71f4c (patch)
tree47b20d1d776a0c448e094397bb1c4214aed28f9c
parent5c13484646069064c834bbd3cd02c3bc80d94cb6 (diff)
downloadguix-9408a4edcb3fd44691f543b1fcceb90a26b71f4c.tar
guix-9408a4edcb3fd44691f543b1fcceb90a26b71f4c.tar.gz
news: Add entry about 'guix deploy -x'.
* etc/news.scm: Add entry.
-rw-r--r--etc/news.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/etc/news.scm b/etc/news.scm
index 7e6da61c71..7b7c05b60c 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -25,6 +25,33 @@
(channel-news
(version 0)
+ (entry (commit "5c13484646069064c834bbd3cd02c3bc80d94cb6")
+ (title
+ (en "New @option{--execute} option to @command{guix deploy}")
+ (fr "Nouvelle option @option{--execute} pour @command{guix deploy}"))
+ (body
+ (en "The @command{guix deploy} command has a new @option{--execute}
+or @option{-x} option, which allows you to execute a command on all the
+machines that your configuration file specifies, as in this example:
+
+@example
+guix deploy deploy.scm -x -- herd restart guix-daemon
+@end example
+
+This is no substitute for full-featured tools such as pdsh but it is a useful
+helper.")
+ (fr "La commande @command{guix deploy} a une nouvelle option
+@option{--execute} ou @option{-x} qui permet d'exécuter une commande sur
+toutes les machines spécifiées dans son fichier de configuration, comme dans
+cet exemple :
+
+@example
+guix deploy deploy.scm -x -- herd restart guix-daemon
+@end example
+
+Ça ne remplace pas les outils sophistiqués comme pdsh mais c'est bien
+pratique.")))
+
(entry (commit "c4fe13c294cc1e31dd8a49ce3981f603fb169e0a")
(title
(en "@command{guix style} can format package definitions")