SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
How do you organise your metadata in Puppet, it's important to know all the different options, choices and steps you can do to make your metadata rock!
How do you organise your metadata in Puppet, it's important to know all the different options, choices and steps you can do to make your metadata rock!
3.
Who am I?
Marc Cluet (@lynxman)
Grumpy Engineer based in London
Co-‐Founder of Ukon Cherry
17 years of experience as a SysAdmin
Founding member of Juju and MAAS
while at Canonical
Built a DevOps Engineering Team at
Rackspace
Been DevOps’in for the last 6 years
4.
Who am I?
http://www.meetup.com/London-‐DevOps/
5.
What is Metadata?
https://www.flickr.com/photos/annarbor/4349876203/
6.
What is Metadata?
Metadata is “data about data”
Structural Metadata
Descriptive Metadata
7.
What is Metadata?
Structural Metadata
architecture => amd64
ipaddress => 10.0.115.197
Descriptive Metadata
$puppetversion = 3.7.5
$apacheversion = 2.4
8.
Metadata purpose?
Abstract
Definitions
Unique
Data
9.
Metadata purpose?
Abstract
Definitions
Unique
Data
10.
Metadata in Puppet
https://www.flickr.com/photos/jimmcd/4859841581/
11.
Metadata in Puppet
Variables
Facts
Hiera
PuppetDB
12.
Variables
class apples {
$apples = 5
$string = “I have ${apples} apples”
}
$apples::apples
$apples::string
global
48.
What is Service Discovery?
Service
Node A
Health
Check
Discovery
Agent
Discovery
Agent
Service
Node B
Health
Check
Service
Publication
Node A Node B