Re: [Puppet Users] pip and virtualenv

2012-02-03 Thread Michael Cumings
These modules work fine for what I need... define virtualenv($ensure = 'present', $executable=false, $relocatable=false, $extra_search_dir=false, $site_packages=false, $never_download=false, $prompt=false, $user='root') { $executable_opt = $executable ? { false => '', default => $executab

[Puppet Users] Using a defined resource declared within a parameterized class?

2011-12-08 Thread Michael Cumings
I want to be able to build a parameterized class that represents each of our major services, and then use a define within that class that will make use of the parameters. For example, have a class that represents a complete application, which is a virtualenv python application. Then use a define