Puppet Python Product    PuppetCamp Dublin      Dave Anderson       6th July 2012
10 Slides / 30 Mins• A Python Puppet Product• Tips & Pitfalls• Puppet doesnt solve ...
Puppet in a ProductWe love Puppet so much,we built a product round it!                               The ProductCrew of 40...
Puppet + Python = 👍• Great docs, examples, user community
Puppet + Python = 👍• Great docs, examples, user community• Main Puppet "API" we use is files -  strange!
Puppet + Python = 👍• Great docs, examples, user community• Main Puppet "API" we use is files -  strange!• Continuous Integr...
Puppet + Python = 👍• Great docs, examples, user community• Main Puppet "API" we use is files -  strange!• Continuous Integr...
Top Tip: Dependencies        packages -> config -> servicesThis pattern utilises the concept of keepingpackages, configurati...
Top Worry: Import
Top Worry: ImportWe have a tree of sites anduse import to import thenodes for each site.e.g. site1 may importnode1.pp and ...
Top Worry: ImportWe have a tree of sites anduse import to import thenodes for each site.e.g. site1 may importnode1.pp and ...
Challenges👾 👾 👾 👾 👾 👾• Intra-node dependencies (stages++)• Robustness• Availability control• Introspection of puppet maste...
Contributions• Currently we have contributed ... nothing :(• Challenges: Python/Ruby, Cautious Customer• Many "infrastruct...
dave.anderson@ammeon.com @supergi ngerdave
Dave Anderson of Ammeon at PuppetCamp Dublin '12
Upcoming SlideShare
Loading in...5
×

Dave Anderson of Ammeon at PuppetCamp Dublin '12

695
-1

Published on

Dave Anderson of Ammeon at PuppetCamp Dublin '12, speaking on:
- Dynamic re/generation of manifests
- Several features that aren't in puppet today but would be cool to have
- Experience embedding puppet in a software product (as opposed to ad-hoc devops)

@supergingerdave

Published in: Education, Technology, Spiritual
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
695
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n\n
  • \n\n
  • 8 years old\nparent is Logica, Grandparent is Aldiscon\n150 people\n\nHuge range of projects and customers\n\nTypical engagement: knotty, bespoke, complex, mission critical ... NDA \n
  • Building a Product for a Customer, not for us\n\nPuppet solves one of the problems that we are trying to solve\n
  • Continuous integration. PuppetLint of course. Automated deployment into a remote lab is ... challenging! Tens of systems deployed several times each day\n\nStretch metaphor: specify desired state, ability to check state, correcting change is within our control. Sometimes all we should do is report and pause\n\n\n\n
  • Continuous integration. PuppetLint of course. Automated deployment into a remote lab is ... challenging! Tens of systems deployed several times each day\n\nStretch metaphor: specify desired state, ability to check state, correcting change is within our control. Sometimes all we should do is report and pause\n\n\n\n
  • Continuous integration. PuppetLint of course. Automated deployment into a remote lab is ... challenging! Tens of systems deployed several times each day\n\nStretch metaphor: specify desired state, ability to check state, correcting change is within our control. Sometimes all we should do is report and pause\n\n\n\n
  • Good old OO principle, High Cohesion Low Coupling\n\nOO principles are A Good Thing\n\nWhile writing a puppet module, the first requirement is that the platform installs the relevant packages for the module. Generally the next requirement is to set up configuration before the services can be started.\nWhen a class is self contained, the user does not need to concern themselves with the exact package, file or service names. A class can be required as a whole.\n\n\n
  • \n\n
  • \n\n
  • Intra node dependencies\nAnyone got a good recipe?\n\nRobustness\nPuppetMaster should never ever fail due to dodgy manifests\n\nAvailability\nDon't restart services except during a maintenance window thankyou\n\n\n\n
  • \n\n
  • \n\n
  • Dave Anderson of Ammeon at PuppetCamp Dublin '12

    1. 1. Puppet Python Product PuppetCamp Dublin Dave Anderson 6th July 2012
    2. 2. 10 Slides / 30 Mins• A Python Puppet Product• Tips & Pitfalls• Puppet doesnt solve ...
    3. 3. Puppet in a ProductWe love Puppet so much,we built a product round it! The ProductCrew of 40+ devops The Customer NDA NDA
    4. 4. Puppet + Python = 👍• Great docs, examples, user community
    5. 5. Puppet + Python = 👍• Great docs, examples, user community• Main Puppet "API" we use is files - strange!
    6. 6. Puppet + Python = 👍• Great docs, examples, user community• Main Puppet "API" we use is files - strange!• Continuous Integration: PuppetLint ...
    7. 7. Puppet + Python = 👍• Great docs, examples, user community• Main Puppet "API" we use is files - strange!• Continuous Integration: PuppetLint ...• Managing hardware and infrastructure stretches the metaphor (and then Razor popped up!)
    8. 8. Top Tip: Dependencies packages -> config -> servicesThis pattern utilises the concept of keepingpackages, configuration and services classesself contained and separate from each other require => Service[aservice], Service[anotherservice], Service[andanother] 💚 require => Class[amodule::services]
    9. 9. Top Worry: Import
    10. 10. Top Worry: ImportWe have a tree of sites anduse import to import thenodes for each site.e.g. site1 may importnode1.pp and node2.ppImport is deprecated ...
    11. 11. Top Worry: ImportWe have a tree of sites anduse import to import thenodes for each site.e.g. site1 may importnode1.pp and node2.ppImport is deprecated ...http://projects.puppetlabs.com/issues/12930
    12. 12. Challenges👾 👾 👾 👾 👾 👾• Intra-node dependencies (stages++)• Robustness• Availability control• Introspection of puppet master model• Recipes for Upgrade
    13. 13. Contributions• Currently we have contributed ... nothing :(• Challenges: Python/Ruby, Cautious Customer• Many "infrastructure" modules such as HP ILO, IPMI, EMC (Hello Razor ...)
    14. 14. dave.anderson@ammeon.com @supergi ngerdave
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×