~/talk

Doing it wrong with Puppet

Talkat Puppet Camp Berlin 2014 · on Friday, 2014-04-11· [platform-engineering]
links:none on file
slides:none on file

Shows five concrete Puppet anti-patterns and fixes: Facter v1 stringifies booleans so facts returning false must be empty strings; avoid C-like 0/1 flags and use real Boolean parameters. Using defined() to dodge duplicate resources creates nondeterministic behavior; prefer a single wrapper class or the stdlib ensure_resource with caution. Replacing declarative state with long chains of execs and heavy use of refreshonly breaks idempotence and debugging; package the installer or run a single guarded exec. Relying on dynamic scoping (resource defaults) makes behavior order-dependent; prefer class parameters and Hiera.

AI-written summary · about

  1. 0:00Start
  2. 16:03Ensure Resource
  3. 27:34Pattern Relying on Dynamic Scoping
  4. 27:57Review of What Dynamic Scoping Actually Is in Puppet
  5. 28:54Dynamic Scoping for Resource Defaults
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.