From 9408a4edcb3fd44691f543b1fcceb90a26b71f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 2 Feb 2022 18:42:30 +0100 Subject: news: Add entry about 'guix deploy -x'. * etc/news.scm: Add entry. --- etc/news.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'etc') 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") -- cgit v1.2.1