Code Monkey home page Code Monkey logo

puppet-vm-deployment's Introduction

puppet-vm-deployment

A single shell script to deploy wso2 products in the cloud without a puppet master.

What does it do?

Once you have access to cloud instances and completed preparing puppet modules + hieradata, this script will ..

  • Install required bundles (puppet/unzip) in the remote instance
  • Install dependent puppet modules (stdlib/java)
  • Copy puppet modules and hieradata from local machine to remote server
  • Export facters
  • Run puppet (via puppet apply): does not use a puppet master

How to use

  1. Clone puppet-vm-deployment repository

    git clone https://github.com/lasinducharith/puppet-vm-deployment.git
    
  2. Clone WSO2 puppet modules repository and consider this path in local machine as puppet_home:

    git clone https://github.com/wso2/puppet-modules.git
    
  3. Download and copy Oracle JDK 1.7 distribution to the following path:

    [puppet_home]/modules/wso2base/files/jdk-7u80-linux-x64.tar.gz
    
  4. Download and copy required product distributions, patches, dropins etc. to each puppet module

    [puppet_home]/modules/wso2esb/files
    [puppet_home]/modules/wso2am/files
    [puppet_home]/modules/wso2as/files
    
  5. Update puppet_home/hieradata with hostnames, ipaddresses and other configuration information

    [puppet_home]/hieradata/dev/wso2/wso2esb/4.9.0
    [puppet_home]/hieradata/dev/wso2/wso2am/1.9.0
    
  6. Update server configuration details in server_configs.conf. You can include details of each server instance, starting from a new line

    #instance_ip,product_name,product_version,product_profile,environment
    192.168.100.1,wso2esb,4.9.0,manager,dev
    192.168.100.2,wso2esb,4.9.0,worker,dev
    
  7. Update puppet_home, key_file, destination_path, user in deploy_servers.sh

  8. Execute deploy_servers.sh

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.