"Using Orchestration in Puppet Enterprise 3" by Nick Fagerlund Technical Writer, Puppet Labs.
Presentation Overview: The recently released Puppet Enterprise 3.0 introduced several powerful orchestration engine capabilities, including dynamic discovery and progressive deployment. This introductory-level talk will provide an overview of these and other orchestration engine features, the common use-cases they address, and how you use them.
Speaker Bio: Nick Fagerlund was the very first dedicated technical writer at Puppet Labs. Like any responsible pet owner, Puppet Labs has since provided him with companions. Unlike a responsible pet owner, Puppet Labs has fed him after midnight and occasionally splashed water on him. Nick writes (and re-writes) at http://docs.puppetlabs.com, focusing on platform-level components like the Puppet language. He specializes in breaking things and then explaining how they broke. His business card says "weird bugs."
9. puppetconf.com #puppetconf
It’s not configuration
management.
It’s a different kind of automation.
They’re complementary!
Friday, August 23, 13
10. puppetconf.com #puppetconf
Config management is:
• Modeling a desired state for systems…
• …enforcing that desired state…
• …and updating the model in order to
update the state.
Friday, August 23, 13
13. puppetconf.com #puppetconf
What’s an “action?”
• Pre-defined actions are distributed as
plugins.
• Actions have structured inputs and
outputs.
• Actions can do... like, whatever. (Several
built-in, or write your own.)
Friday, August 23, 13
14. puppetconf.com #puppetconf
What’s “on demand?”
• Whenever you want—
• —either really quickly and in parallel—
• —or in a controlled series of batches.
Friday, August 23, 13
15. puppetconf.com #puppetconf
Flexible group of systems?
• Select nodes by fact values
• Select by Puppet classes
• Select with dynamic data discovery
Instead of using a list of hostnames, set criteria
to match against.
Friday, August 23, 13
20. puppetconf.com #puppetconf
• Controlling config management
• Gathering information
• Application deployment
• Routine or emergency maintenance
Friday, August 23, 13
21. puppetconf.com #puppetconf
• Controlling config management
• Gathering information
• Application deployment
• Routine or emergency maintenance
• Any of your day-to-day work that must
happen interactively
Friday, August 23, 13
34. puppetconf.com #puppetconf
The mco command
• The mco command controls the
orchestration engine.
• It has a bunch of subcommands, whose
syntax can vary.
Friday, August 23, 13
35. puppetconf.com #puppetconf
The subcommands
• mco rpc is the generic subcommand. It can
do basically anything.
• All the other subcommands are simpler
ways to do things you could probably do
with mco rpc.
Friday, August 23, 13
36. puppetconf.com #puppetconf
Specialized subcommands
• mco ping is exactly what it sounds like.
• mco find is a fast way to test filters.
• mco service mimics the familiar service
command.
• mco package mimics apt and yum
commands.
Friday, August 23, 13