From a644e2eb6abeaecf8a27c2fc1ac76b053566fcd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 26 Dec 2022 11:59:51 +0100 Subject: =?UTF-8?q?m=C3=A5n=2026=20dec=202022=2011:59:51=20CET?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- puppet.wiki | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'puppet.wiki') diff --git a/puppet.wiki b/puppet.wiki index 63c43c3..3bb7286 100644 --- a/puppet.wiki +++ b/puppet.wiki @@ -45,6 +45,18 @@ $variable ? { } }}} +==== On Undef ==== +{{{puppet +$debug_api = $irc_bridge_debug_port ? { + Undef => { 'enabled' => false }, + String => { + 'enabled' => false, + 'port' => $irc_bridge_debug_port, + }, +} +}}} + + === Regular Case === {{{puppet case $variable { -- cgit v1.2.3