1. VSHN – The DevOps Company
Faster. Better. Nicer. Modern Puppet development
Peter Bittner, VSHN AG
Pee Dee Kay (PDK)
1
2. VSHN – The DevOps Company
Is it simple, clean, fast?
Copy & paste existing module setup?
Copy & paste CI automation setup?
Can you do linting locally?
Do you run unit tests locally?
Do we run our own solutions?
How do you Puppet module today?
2
3. VSHN – The DevOps Company
Puppet Development Kit. Since 2017
CLI tool for Puppet (module) development
Uni ed approach to Puppet development
Makes Ruby’s myriad of tools more accessible
Single command to bootstrap a Puppet module
A simpler way to do linting and testing
Enter PDK
Announcement (2017)
3
4. VSHN – The DevOps Company
How start with a Puppet module?
Working with PDK (1)
pdk new module
pdk validate
pdk test unit
4
5. VSHN – The DevOps Company
How add classes, types, tasks?
Working with PDK (2)
pdk new class
pdk new defined_type
pdk new task
5
6. VSHN – The DevOps Company
Can I migrate an existing module?
Working with PDK (3)
pdk convert
pdk validate
6
7. VSHN – The DevOps Company
Make it match, beautiful & simple.
Local Work ow ⇔ CI Setup
- stage: validate
script: pdk validate
- stage: test
script: pdk test unit
7
8. VSHN – The DevOps Company
Talk to Puppet. They’re slow, but they listen.
Simpler CI con guration ( ➜ )
Strict mode for validate ( ➜ )
Bootstrap control repo ( ➜ )
Make PDK Even More Useful
#85 PDK-709
#392 PDK-909
#333 #10
8
9. VSHN – The DevOps Company
Let’s Roll!
puppet.com/docs/pdk/
9
10. VSHN – The DevOps Company
Peter Bittner, VSHN AG –
VSHN AG – Neugasse 10 – CH-8005 Zürich – +41 44 545 53 00 – –
Be Courageous!
peter.bittner@vshn.ch
vshn.ch info@vshn.ch
Download this presentation as a PDF le
10