Git Product home page Git Product logo

wasdeploy's Introduction

This is the wasdeploy

All arguments are currently required.

Clone this module to your modulepath, classify nodes with 'wasdeploy', run puppet.

The MCO “wasdeploy” utility based on jpadams/runyer.

wasdeploy actions are:

stage - curl over & extract jar files from artifact server, chown of files

deployapp - move app files to appropriate location and change uid:gid of files

deploy - move and chown of web static content on web servers

syncandstart - run the installapp.pl and syncandstart.pl scripts on the deployment server

example usage:

mco rpc wasdeploy stage app_src=‘http://artifact_host/app.jar' pkg_jar='bar' tmp_dir='/tmp' -I <target node>

mco rpc wasdeploy deployapp tmp_dir=‘/location_of extracted_files’ app_name='name of app' deploy_dir=‘/proj/deploy/<appname>/install’ app_owner=‘wasadm01:wasadm01’ common_dir='/proj/deploy/common' -I <target node>

mco rpc wasdeploy deploystatic static_src=‘http://artifact_host/web.jar' static_jar=’web.jar’ static_tmp_dir=’/dir_to_download_files_into’ static_dir=’/proj/<app-name>/www’ app_owner=‘app_owner:app_group’ -I <target node>

mco rpc wasdeploy syncandstart common_dir=‘/proj/deploy/comm’ sns_cmd=‘./syncandstart.pl’ app_name=’<app-name>’ -I <target node>

wasdeploy's People

Contributors

jaykozak avatar

Watchers

David Roberts avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.