From e45d779b599e16a8c839c263838cd7a82a140698 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 7 Nov 2025 06:37:09 +0100 Subject: [PATCH] [tutorial 004] Limits the possible values for the variable "Foo" should not be an option to the "proxy_mode" variable. Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected. We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices. --- firefox/00-proxy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/firefox/00-proxy.yml b/firefox/00-proxy.yml index b3585514..92b75f58 100644 --- a/firefox/00-proxy.yml +++ b/firefox/00-proxy.yml @@ -2,5 +2,13 @@ --- version: 1.1 -proxy_mode: No proxy # Configure Proxy Access to the Internet +proxy_mode: + description: Configure Proxy Access to the Internet + choices: + - No proxy + - Auto-detect proxy settings for this network + - Use system proxy settings + - Manual proxy configuration + - Automatic proxy configuration URL + default: No proxy ...