Top Banner
PuppetCamp Berlin April 2015
13

Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Jul 20, 2015

Download

Software

Puppet Labs
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

PuppetCamp Berlin April 2015

Page 2: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Nicolas Corrarello Technical Solutions Engineer

- SysAdmin for 10+ Years (Red Hat, IBM, Orbitz, Symantec, Rackspace etc. …) - First worked with Puppet on 2011 (Mainly around someone else’s code) - Worked with other automation tools in different jobs since then

Page 3: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

You?

Page 4: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

IT is evolving rapidly

1952 1988 1999 2006

Page 5: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

DON’T WORK

Manual configurationsCustom scriptsGolden imagesLegacy tools

*And it’s only getting tougher.More complexity. More opportunity. Higher expectations.

Page 6: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

DEFINE AUTOMATE

THE PUPPET ENTERPRISE APPROACH

operating system resources · virtual machines · clouds · network devices · storage devices · applications

Page 7: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Simulate Enforce Report

Choose from thousands of pre-built modules.

Define

Define the desired state using a powerful, declarative language.

Page 8: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Simulate Enforce ReportDefine

Simulate changes before you deploy them.

Page 9: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Simulate Enforce ReportDefine

Enforce changes and remediate configuration drift

Page 10: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Simulate Enforce ReportDefine

Gain insight into your infrastructure.

Page 11: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

Puppet Modules

HieraData

RedHat Enterprise Linux

Puppet Master

Puppet EnterpriseConsole

CA

Puppet AgentPuppetDB

PostgreSQL

Puppet Agent

MCollective

Debian Linux

Puppet Agent

MCollective

Microsoft Windows

Puppet Agent

MCollective

MCollective

FACTS

1

2

3

CATA

LOG

1

4

REPORT

7

8/modules/ my-module1/ files/ lib/ manifests/ spec/ templates/ tests/ Modulefile README.md

/hieradata/ common.yml Debian.yml RedHat.yml Windows.yml

1

2

3

4

Puppet Agent Invoked

Facts sent to Master

Node Classification

Classes and Data compiled into Catalog

5

6

7

8

Catalog sent to Agent

Agent applies (or simulates) desired-state

Report sent to Master

Report, Catalog and Facts stored in PuppetDB

61

Page 12: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

• Puppet DSL & Desired State Configuration • Reporting • Classifying Nodes • Orchestration • Event Inspector

LET’S SEE IT IN ACTIONLet’s see it in action!

Page 13: Puppet Camp Berlin 2015: Puppet Demo (Beginner)

• Learn: • http://puppetlabs.com/learn - Online

Workshops, Docs and Training VM. • Share:

• http://puppetlabs.com/events • #puppet on irc.freenode.net (ping sgtpepper)

• Ask: • http://ask.puppetlabs.com

• Try: • http://puppetlabs.com/download-puppet-

enterprise - 10 Nodes unlimited time Trial

RESOURCESResources