diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-18 20:01:26 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-18 20:01:26 +0100 |
commit | 0157c430705db2ffb5a86bf191175d6d0e92dc8c (patch) | |
tree | c04a40c8b64bdf90e7c1c6c00b9b6df428d1bcc0 /puppet.wiki | |
parent | Fri, 29 Oct 2021 02:04:22 +0200 (diff) | |
download | wiki-public-0157c430705db2ffb5a86bf191175d6d0e92dc8c.tar.gz wiki-public-0157c430705db2ffb5a86bf191175d6d0e92dc8c.tar.xz |
Sat, 18 Dec 2021 20:01:25 +0100
Diffstat (limited to '')
-rw-r--r-- | puppet.wiki | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/puppet.wiki b/puppet.wiki index dc208ea..5170387 100644 --- a/puppet.wiki +++ b/puppet.wiki @@ -8,3 +8,30 @@ require :: Applies a resource after the target resource. notify :: Applies a resource before the target resource. The target resource refreshes if the notifying resource changes. subscribe :: Applies a resource after the target resource. The subscribing resource refreshes if the target resource changes. +=== Multiple declaration in single resource block === + +{{{puppet + ini_setting { + default: + ensure => $ensure, + path => $::pacman::conf_path, + section => $repo_name , + ; + "Pacman repo [${repo_name}] server": + setting => 'Server', + value => $server , + ; + "Pacman repo [${repo_name}] SigLevel": + setting => 'SigLevel', + value => $sig_level , + ; + } +}}} + +=== Type Case === +{{{puppet +$variable ? { + Array => 'one thing', + String => 'Anothing thing' +} +}}} |