Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
2014
Presented by
Getting Started
with Puppet on
Windows
Josh Cooper
Principal Engineer | Puppet Labs
@coopjn
Thursday, Se...
Presented by
What not to do
1 @echo off
2 net stop w32time
3 w32tm /config /syncfromflags:manual 
/manualpeerlist:"0.pool....
Presented by
Thursday, September 25, 14
Presented by
Overview
What is Puppet?
Getting started
Effectively managing Windows with Puppet
Thursday, September 25, 14
Presented by
What is Puppet?
Thursday, September 25, 14
Presented by
#puppetize
registry_value { 'HKLMSystem...W32TimeParametersNtpServer':
ensure => present,
type => array,
data...
Presented by
registry_value { 'HKLMSystem...W32TimeParametersNtpServer':
ensure => present,
type => array,
data => ['0.poo...
Presented by
service { 'w32time':
ensure => running,
enable => true,
}
Thursday, September 25, 14
Presented by
Relationships
registry_value { 'HKLMSystem...W32TimeParametersNtpServer':
...
notify => Service['w32time'],
}...
Presented by
Getting Started
• Supported Platforms
• Installation
• Applications
• Resources
Thursday, September 25, 14
Presented by
to
Thursday, September 25, 14
Presented by
Thursday, September 25, 14
Presented by
Thursday, September 25, 14
Presented by
Thursday, September 25, 14
Presented by
Applications
• resource
• apply
• agent
Thursday, September 25, 14
Presented by
puppet resource
Thursday, September 25, 14
Presented by
packages
Thursday, September 25, 14
Presented by
puppet apply
Thursday, September 25, 14
Presented by
puppet agent
Thursday, September 25, 14
Presented by
Resources
• Core
• Supported Modules
• Community Modules
• Tooling
Thursday, September 25, 14
Presented by
Core Resources
exec
file
host
user
group
package
service
scheduled_task
Thursday, September 25, 14
Presented by
Supported Modules
acl
powershell
reboot
registry
concat
stdlib
inifile
java_ks
Thursday, September 25, 14
Presented by
Community Modules
https://forge.puppetlabs.com/modules?sort=downloads&q=windows
Paul Stack & Liam Bennett (Op...
Presented by
puppet module
maybe we skip this?
Thursday, September 25, 14
Presented by
https://docs.puppetlabs.com/geppetto/latest/
Thursday, September 25, 14
Presented by
http://bit.ly/1o9E2EH
Thursday, September 25, 14
Presented by
https://portal.azure.com
Thursday, September 25, 14
Presented by
http://lego-technique.blogspot.com/
Thursday, September 25, 14
Presented by
Quotes & Interpolation
$taskmgr = 'HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution
Optionst...
Presented by
Windows Accounts
group { 'Administrators':
ensure => present,
members => ['Administrator', 'S-1-5-19', 'NT AU...
Presented by
Case Sensitivity
package { 'javaruntime':
ensure => installed,
provider => chocolatey,
before => Service['jen...
Presented by
Why oh Why
file { 'C:Windowssystem32':
ensure => directory
}
file { 'C:Windowssysnative':
ensure => directory...
Presented by
UAC is sort of like sudoish...
Thursday, September 25, 14
Presented by
Where’s my data?
Thursday, September 25, 14
Presented by
platform { 'windows':
ensure => firstclass
}
Thursday, September 25, 14
Presented by
Next Steps
Documentation: http://docs.puppetlabs.com/windows
Training: Puppet Essentials for Windows
Google G...
Do You Speak ?
http://puppetlabs.com/jobs
Thursday, September 25, 14
Thank You!
Josh Cooper
josh@puppetlabs.com
@coopjn
Thursday, September 25, 14
Upcoming SlideShare
Loading in …5
×

Getting Started with Puppet on Windows - PuppetConf 2014

Getting Started with Puppet on Windows - Josh Cooper, Puppet Labs

Related Books

Free with a 30 day trial from Scribd

See all

Getting Started with Puppet on Windows - PuppetConf 2014

  1. 1. 2014 Presented by Getting Started with Puppet on Windows Josh Cooper Principal Engineer | Puppet Labs @coopjn Thursday, September 25, 14
  2. 2. Presented by What not to do 1 @echo off 2 net stop w32time 3 w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org,1.pool.ntp.org" 4 net start w32time Thursday, September 25, 14
  3. 3. Presented by Thursday, September 25, 14
  4. 4. Presented by Overview What is Puppet? Getting started Effectively managing Windows with Puppet Thursday, September 25, 14
  5. 5. Presented by What is Puppet? Thursday, September 25, 14
  6. 6. Presented by #puppetize registry_value { 'HKLMSystem...W32TimeParametersNtpServer': ensure => present, type => array, data => ['0.pool.ntp.org','1.pool.ntp.org'], notify => Service['w32time'], } service { 'w32time': ensure => running, enable => true, } Thursday, September 25, 14
  7. 7. Presented by registry_value { 'HKLMSystem...W32TimeParametersNtpServer': ensure => present, type => array, data => ['0.pool.ntp.org','1.pool.ntp.org'], notify => Service['w32time'], } Thursday, September 25, 14
  8. 8. Presented by service { 'w32time': ensure => running, enable => true, } Thursday, September 25, 14
  9. 9. Presented by Relationships registry_value { 'HKLMSystem...W32TimeParametersNtpServer': ... notify => Service['w32time'], } service { 'w32time': ... } Thursday, September 25, 14
  10. 10. Presented by Getting Started • Supported Platforms • Installation • Applications • Resources Thursday, September 25, 14
  11. 11. Presented by to Thursday, September 25, 14
  12. 12. Presented by Thursday, September 25, 14
  13. 13. Presented by Thursday, September 25, 14
  14. 14. Presented by Thursday, September 25, 14
  15. 15. Presented by Applications • resource • apply • agent Thursday, September 25, 14
  16. 16. Presented by puppet resource Thursday, September 25, 14
  17. 17. Presented by packages Thursday, September 25, 14
  18. 18. Presented by puppet apply Thursday, September 25, 14
  19. 19. Presented by puppet agent Thursday, September 25, 14
  20. 20. Presented by Resources • Core • Supported Modules • Community Modules • Tooling Thursday, September 25, 14
  21. 21. Presented by Core Resources exec file host user group package service scheduled_task Thursday, September 25, 14
  22. 22. Presented by Supported Modules acl powershell reboot registry concat stdlib inifile java_ks Thursday, September 25, 14
  23. 23. Presented by Community Modules https://forge.puppetlabs.com/modules?sort=downloads&q=windows Paul Stack & Liam Bennett (OpenTable) Rich Siegel Marc Sutter Thursday, September 25, 14
  24. 24. Presented by puppet module maybe we skip this? Thursday, September 25, 14
  25. 25. Presented by https://docs.puppetlabs.com/geppetto/latest/ Thursday, September 25, 14
  26. 26. Presented by http://bit.ly/1o9E2EH Thursday, September 25, 14
  27. 27. Presented by https://portal.azure.com Thursday, September 25, 14
  28. 28. Presented by http://lego-technique.blogspot.com/ Thursday, September 25, 14
  29. 29. Presented by Quotes & Interpolation $taskmgr = 'HKLMSOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionstaskmgr.exe' registry_value { "${taskmgr}Debugger": ensure => present, type => string, data => 'c:sysinternalsprocexp.exe', require => Package['sysinternals'], } Thursday, September 25, 14
  30. 30. Presented by Windows Accounts group { 'Administrators': ensure => present, members => ['Administrator', 'S-1-5-19', 'NT AUTHORITYNetwork Service'], } Thursday, September 25, 14
  31. 31. Presented by Case Sensitivity package { 'javaruntime': ensure => installed, provider => chocolatey, before => Service['jenkinsslave'], } service { 'jenkinsslave': ensure => running, enable => true, } Thursday, September 25, 14
  32. 32. Presented by Why oh Why file { 'C:Windowssystem32': ensure => directory } file { 'C:Windowssysnative': ensure => directory } Thursday, September 25, 14
  33. 33. Presented by UAC is sort of like sudoish... Thursday, September 25, 14
  34. 34. Presented by Where’s my data? Thursday, September 25, 14
  35. 35. Presented by platform { 'windows': ensure => firstclass } Thursday, September 25, 14
  36. 36. Presented by Next Steps Documentation: http://docs.puppetlabs.com/windows Training: Puppet Essentials for Windows Google Groups: puppet-users & puppet-dev https://ask.puppetlabs.com https://tickets.puppetlabs.com Thursday, September 25, 14
  37. 37. Do You Speak ? http://puppetlabs.com/jobs Thursday, September 25, 14
  38. 38. Thank You! Josh Cooper josh@puppetlabs.com @coopjn Thursday, September 25, 14

×