Michael Wörz
2014-May-14 15:38 UTC
[Puppet Users] Pupprt testing - continueous integration
Hello, when developping puppet modules i'm: - providing a test.pp for each puppet class that serves a defined parameters set to the class - using git to checkout the complete environment (git clone ssh://puppetmaster:/etc/puppet/environments/development/modules) into my home on a testserver - applying the test class : sudo puppet apply --*basemodulepath*=/home/me/modules modules/mymodule/tests/init.pp - see what is going on - push changes back to git and create a revision - checkout that revision to the integration environment on the puppet master and later on to the production environment - using foreman in production instead of hardcoded parameters This works for me but since basemodulepath is deprecated i wonder if this is the way to go and how this is done by users thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f1f026f2-e80a-4117-adba-f85ca3fb993d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.