git and code organization for managing your puppet code - puppetconf 2014

Post on 24-May-2015

834 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Workshop: Git and Code Organization for Managing Your Puppet Code - Terri Haber, Puppet Labs

TRANSCRIPT

2014

Presented by

Workshop: Git and Puppet Code Terri Haber Professional Services Engineer Puppet Labs terri@puppetlabs.com @baconqurlyq http://www.terrihaber.com

Presented by

Workshop!• Simple GIT organization

• No workflow

Presented by

Yes, source control!• Puppet is infrastructure as code

• Easily roll back mistakes

• Integration with other tools

Presented by

F*%# yeah GIT!• Distributed VCS model

• Very popular

• Used by Puppet Labs

Presented by

One repo per module!• Treat each module as its own project

• Less confusion

• Exception: r10k control repo

Presented by

Automate simple testing• STOP!

• pre-commit is nice

• post-receive is better

• puppet and puppet-lint

Presented by

Questions?

Presented by

Thank you!https://github.com/terrimonster/gitworkshop

terri@puppetlabs.com

@baconqurlyq

http://www.terrihaber.com

top related