ruby - Adding file into to an existing .war file -
my automation deployment environment have web.war file deployment under tomcat.
lets assume web.war application contains mix.jar file under /lib directory of web.war archive file.
(mix.jar releases giving different dev team , don't responsible giving web.war , organization practice putting latest mix.jar file web.war archive file manually )
can me automate process chef recipe ?
basically need during chef deployment is, putting mix.jar file web.war/lib directory under tomcat container.
our current practice open web.war file winrar , put mix.jar file , redeploy tomcat.
but want automate process.
jar files zip files can write code using either zip command line tool or rubyzip gem (i go latter depends on comfort level ruby code) on fly, please don't. chef not built kind of task , frustrating build code in robust manner. if need asap , want build fragile version , fix process afterwards that's more understandable, otherwise talk dev team , why need added build process. problems best solved communication rather code.
Comments
Post a Comment