Test Puppet config of an existing node using Puppet Master via Vagrant

Are you using Puppet in the client-server setup and want to test the configuration for a particular node without actually changing it? You can do that by fooling Puppet Master into believing that a Vagrant virtual machine (VM) is that node and applying it there. The process is simple: you essentially only need to getContinue reading “Test Puppet config of an existing node using Puppet Master via Vagrant”

Puppet Troubleshooting: Compiling Catalog, Locating a Cached Catalog

Few troubleshooting tips for Puppet. Where to Find the Cached Catalog On Client Puppet Agent caches its compiled (text/Ruby) catalog under its $vardir, for example Puppet 0.25.x stores it into /var/lib/puppet/client_yaml/catalog/<hostname>.yaml. It might be useful when troubleshooting. Compiling Catalog Manually You can compile the catalog for a particular node manually on the Puppet Master. Ex.:Continue reading “Puppet Troubleshooting: Compiling Catalog, Locating a Cached Catalog”

Minimalistic Practical Introduction to Puppet (Not Only) For Vagrant Users

I couldn’t find any good, brief, practical introduction into Puppet that gives you basic working knowledge in minimal time, so here it is. You will learn how to do the elementary things with Puppet – install packages, copy files, start services, execute commands. I won’t go into Puppet installation, nodes, etc. as this introduction focusesContinue reading “Minimalistic Practical Introduction to Puppet (Not Only) For Vagrant Users”

Most interesting links of June ’12

Recommended Readings Development Neal Ford: Evolutionary architecture and emergent design: Emergent design in the wild – discusses why not to do Big Design Up Front and how to recognize the “last responsible moment”. Quote: “It’s puzzling that so many organizations continue to use BDUF in the face of so many failures and underachieving projects.“ GojkoContinue reading “Most interesting links of June ’12”

Serving Files with Puppet Standalone in Vagrant From the puppet:// URIs

If you use Puppet in the client-server mode to configure your production environment then you might want to be able to copy & paste from the prod configuration into the Vagrant’s standalone puppet‘s configuration to test stuff. One of the key features necessary for that is enabling file serving via “source => ‘puppet:///path/to/file’”. In theContinue reading “Serving Files with Puppet Standalone in Vagrant From the puppet:// URIs”