Slide 1

Slide 1 text

Puppet for Services

Slide 2

Slide 2 text

@liamjbennett

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

This talk

Slide 6

Slide 6 text

What do I mean by Puppet for Services?

Slide 7

Slide 7 text

My experiments

Slide 8

Slide 8 text

The future …

Slide 9

Slide 9 text

Puppet for … Services ????

Slide 10

Slide 10 text

Applications with an API (web or command line)

Slide 11

Slide 11 text

Methods of configuring applications • Config file • Database • File+db combo • Behind the curtain

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Questions …. • What impact does this have on your project and pipeline? • What does your control repo look like? • Do you have a separate one for managing you infra and your nodes? • How do you tie those things together?

Slide 15

Slide 15 text

My experiments

Slide 16

Slide 16 text

My journey through 3 apps

Slide 17

Slide 17 text

Jenkins

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Jenkins Job Builder jenkins-jobs --conf etc/jenkins_jobs.ini update template.yaml - project: name: add_managed_to_desc jobs: - 'add_managed_to_desc' - job-template: name: 'add_managed_to_desc' description: 'My nice description' builders: - shell: | #!/usr/bin/env python # print("Doing something cool with python") http://docs.openstack.org/infra/jenkins-job-builder/quick- start.html

Slide 20

Slide 20 text

puppet-jenkins_job_builder

Slide 21

Slide 21 text

puppet-jenkins_job_builder

Slide 22

Slide 22 text

Rundeck

Slide 23

Slide 23 text

Jobs + Projects

Slide 24

Slide 24 text

Jobs + Projects

Slide 25

Slide 25 text

Enter puppet ..

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Foreman

Slide 30

Slide 30 text

Slide 31

Slide 31 text

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

< on a side note >

Slide 35

Slide 35 text

puppet-aws

Slide 36

Slide 36 text

puppet-aws

Slide 37

Slide 37 text

terraform?

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

The future ..

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

pagerduty_service { ‘serviceA’ integration_type => ‘api’, esclation_policy => ‘foo’, acknowledge_timeout => ‘30m’, } PagerDuty ?

Slide 42

Slide 42 text

TravisCI ? travis_env_var { ‘fu’: repository => ‘myorg/fu’, value => ‘env_value’, public => true, }

Slide 43

Slide 43 text

Github ? github_team { ‘wizards’: repo_names => [‘fubar’,’test’], privacy => ‘secret’, }

Slide 44

Slide 44 text

Puppet for Services

Slide 45

Slide 45 text

@liamjbennett Thank You.