"Managing Windows Systems with Puppet" by James Sweeny Professional Services Engineer, Puppet Labs.
Presentation Overview: Since Puppet grew up in the *nix world, there is a common misconception that it can't be used to effectively manage Windows. This talk hopes to dispel confusion on the matter and demonstrate that Windows can be managed effectively and easily with Puppet. Along with basic how-tos and tips on working with Windows systems using Puppet, Windows specific issues and caveats will be discussed with effective mitigations.
Speaker Bio: James is a recovering sysadmin currently working as a Professional Services Engineer at Puppet Labs. He performs training and advises on configuration and systems management best practices in his day job. Though his focus is primarily on Linux systems, he frequently is tasked to work on Solaris, OS/X, and Windows. He is unafraid to admit that he runs Windows 7 on his primary desktop.
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Managing Windows Systems with Puppet - PuppetConf 2013
1. Managing Windows
Systems with Puppet
James Sweeny
Professional Services | Puppet Labs
james.sweeny@puppetlabs.com
supercow on irc.freenode.net
@jsween_y
Friday, August 23, 13
2. puppetconf.com #puppetconf
Introduction
• Windows Agent overview
• Puppet resource model overview
• Managing Linux vs. managing Windows
• Windows specific challenges and solutions
• Windows oddities that will bite you
Friday, August 23, 13
21. puppetconf.com #puppetconf
Files - Paths
• 'C:WINDOWSsystem32'
• 'C:/WINDOWS/system32'
• "C:WINDOWSsystem32"
All are OK, but forward slashes are safer...
Friday, August 23, 13
23. puppetconf.com #puppetconf
Files - Line Endings^M
^M
^M
• CRLF vs. LF^M
• Windows uses two characters for^M
newlines^M
• Puppet master always runs in Linux^M
Friday, August 23, 13
24. puppetconf.com #puppetconf
Files - Line Endings
• File resources are written in binary
• source with Windows newlines will be
preserved
• content will always generate Linux
newlines, unless you add them
Friday, August 23, 13
33. puppetconf.com #puppetconf
Modules
Modules are the best way to organize your
code and extend core Puppet
forge.puppetlabs.com
puppet module search <keyword>
puppet module install <author-module>
Friday, August 23, 13
45. puppetconf.com #puppetconf
Chocolately
• Third party Windows package manager
• http://chocolatey.org/
cinst my_package
See Rob Reynolds tomorrow in the Fountain
Room at 5:10PM!
Friday, August 23, 13
53. puppetconf.com #puppetconf
Additional Resources
• http://docs.puppetlabs.com/windows
• http://docs.puppetlabs.com/references/
latest/type.html
• http://puppetlabs.com/blog/part-top-
questions-on-puppet-and-windows/
• Puppet Types and Providers by Dan Bode
and Nan Liu
Friday, August 23, 13
54. Thank You - Questions?
James Sweeny
Professional Services | Puppet Labs
james.sweeny@puppetlabs.com
supercow on irc.freenode.net
@jsween_y
Collaborate. Automate. Ship.
Friday, August 23, 13
55. Follow us on Twitter @puppetlabs
youtube.com/puppetlabsinc
slideshare.net/puppetlabs
Collaborate. Automate. Ship.
Friday, August 23, 13