Loading…
Thursday, October 12 • 3:15pm - 4:00pm
Custom Types and Providers: Modeling Modern REST Interfaces and Beyond – Tyler Langlois, Elastic

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Types and providers are some of the most powerful abstractions within Puppet, and extending them to model resources outside the scope of simple types can make configuration management extraordinarily useful. Taking the step to extend Puppet's functionality beyond standard resources like users and files can be daunting, though, and getting started in Puppet's Ruby libraries is a different beast than the Puppet language. In this presentation we'll look at an illustrative example of how Puppet can be used to manage custom types in a sophisticated and extensible way, ultimately bridging the gap between Puppet types and resources that can be modeled as objects over RESTful interfaces. Using real module code as an example, we'll look at how combining the declarative nature of Puppet resources with any command or REST interface can make managing complicated systems easier (Elasticsearch being the illustrative example). Testing will also be covered to demonstrate how custom types and providers can offer even more code quality and assurance than basic Puppet manifests. Attendees will learn about how to write Puppet modules (including types and providers), how to use Puppet Ruby APIs, module testing, and Elasticsearch APIs.

Speakers
avatar for Tyler Langlois

Tyler Langlois

DevOps Engineer, Elastic
Tyler is an infrastructure engineer blending as much automation and software engineering into operations as he can. Having written Puppet code in one way or another for the duration of his professional career, he's now taken on the role of maintainer for Elastic's official Elasticsearch... Read More →


Thursday October 12, 2017 3:15pm - 4:00pm PDT
Track 4: Imperial Ballroom B