Aaron Schaefer
2012-Mar-21 20:36 UTC
[Puppet Users] Developing new modules using Puppet Sandbox
Hey everyone, I just wanted to share a simple project I created called Puppet Sandbox [1]. It''s a multi-VM Vagrant-based Puppet development environment used for creating and testing new modules outside of your production environment. I also made a screencast that provides a brief overview of the project [2]. There''s still a bit of work to be done, but the basics are all in place. Let me know what you think! [1] https://github.com/elasticdog/puppet-sandbox [2] http://vimeo.com/elasticdog/puppet-sandbox-demo -- Aaron Bull Schaefer http://elasticdog.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jonathan Proulx
2012-Mar-21 22:11 UTC
Re: [Puppet Users] Developing new modules using Puppet Sandbox
Screen cast looks cool, can''t wait to dig into the code. I''m at the beginning (3rd day?) of a similar project using cucumber to drive module tests on virtual boxes using vagrant. I''ve been focusing on puppet "apply"ing single tasks (a module and its dependencies) to a variety of operating systems and verifying it works. I definitely am for the end to end testing the VM gets you. Cucumber-puppet and Rspec-puppet both seem to just look at the generated manifest which can be valid but still do the worng thing (try installing "chromium" instead of "chromium-browser" on a Debian system fo ran example :) ) Setting up a whole client server virtual environment seems like it may be over kill, but if your environment uses exported resources it may be necessary. -Jon -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
elasticdog
2012-Mar-21 22:56 UTC
Re: [Puppet Users] Developing new modules using Puppet Sandbox
On Wednesday, March 21, 2012 3:11:52 PM UTC-7, Jonathan Proulx wrote:> > Screen cast looks cool, can''t wait to dig into the code. > > I''m at the beginning (3rd day?) of a similar project using cucumber to > drive module tests on virtual boxes using vagrant. I''ve been focusing > on puppet "apply"ing single tasks (a module and its dependencies) to a > variety of operating systems and verifying it works. >Very cool! It would be awesome to have an automated way to test manifests cross-platform. Puppet Sandbox isn''t too complex at this point, it just takes the headache out of configuring this type of environment and allows you to stay away from your production setup. It still needs tweaking to work on multiple platforms, and I''d love for some of the templates it creates to be more dynamic so they could pick up changes based on info in the Vagrantfile, but it works as expected with the default configuration. -- Aaron Bull Schaefer -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/y1Gga98yLg8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Dan Bode
2012-Mar-22 00:35 UTC
Re: [Puppet Users] Developing new modules using Puppet Sandbox
on a related note. I am a little over a week into starting to write a tool to streamline my module development efforts. It is intended to model multi-node deployments and to support running integration tests. It is all ec2 based (I had to abandon my vagrant + rake workflow b/c it just did not scale for large complicated app deployments) I am not quite ready to share, it doesn''t have any docs yet, its just a bunch of code. I am happy to share the source if anyone is interested: https://github.com/bodepd/stack_builder On Wed, Mar 21, 2012 at 3:56 PM, elasticdog <aaronschaefer@gmail.com> wrote:> > On Wednesday, March 21, 2012 3:11:52 PM UTC-7, Jonathan Proulx wrote: >> >> Screen cast looks cool, can''t wait to dig into the code. >> >> I''m at the beginning (3rd day?) of a similar project using cucumber to >> drive module tests on virtual boxes using vagrant. I''ve been focusing >> on puppet "apply"ing single tasks (a module and its dependencies) to a >> variety of operating systems and verifying it works. >> > > Very cool! It would be awesome to have an automated way to test manifests > cross-platform. > > Puppet Sandbox isn''t too complex at this point, it just takes the headache > out of configuring this type of environment and allows you to stay away > from your production setup. It still needs tweaking to work on multiple > platforms, and I''d love for some of the templates it creates to be more > dynamic so they could pick up changes based on info in the Vagrantfile, but > it works as expected with the default configuration. > > -- > Aaron Bull Schaefer > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/y1Gga98yLg8J. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.