guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/14: news: Add entry about 'guix deploy -x'.


From: guix-commits
Subject: 14/14: news: Add entry about 'guix deploy -x'.
Date: Wed, 2 Feb 2022 12:43:38 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 9408a4edcb3fd44691f543b1fcceb90a26b71f4c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Feb 2 18:42:30 2022 +0100

    news: Add entry about 'guix deploy -x'.
    
    * etc/news.scm: Add entry.
---
 etc/news.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]