example42 / puppi

Puppet module to manage applications deployments and servers local management
http://www.example42.com
Other
142 stars 84 forks source link

Puppi::Netinstall[netinstall_<foo>]/Exec[Extract <foo>.zip from /var/tmp] ignores extracted_dir parameter #120

Open dgrstl opened 9 years ago

dgrstl commented 9 years ago

I'm using this with example42/jboss and am passing in the extracted_dir ($jboss::real_created_dirname variable from example42/jboss); however, Puppi is extracting the archive to whatever the directory is within it (in my case, jboss-as-7.1.1). In my case I need to setup several totally separate JBoss servers (independent binaries) so I need something like /usr/local/foo-jboss-as-7.1.1, /usr/local/bar-jboss-as-7.1.1, etc.). The only place I see extracted_dir being used in puppi::netinstall is the creates and unless attributes of the exec { "Extract ${source_filename} from ${work_dir}" ...} resource.