GithubHelp home page GithubHelp logo

isabella232 / chef-conqueso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rapid7/chef-conqueso

0.0 0.0 0.0 63 KB

The chef cookbook for deploying conqueso.

License: Apache License 2.0

Ruby 87.94% Shell 12.06%

chef-conqueso's Introduction

conqueso-chef

Dependency Status

The chef cookbook for deploying conqueso.

This cookbook has three options in mind for the end user:

1 - Standalone developer of the cookbook

2 - Someone who is preparing images (either AMIs or VMs etc) and has a remote database

3 - A developer of both the server and the cookbook (so someone who wants to grab the latest code from source control)

Attributes

  • ['conqueso']['version'] - The version of the conqueso server to download.
  • ['conqueso']['install']['frompackage'] - Setting this to true will pick the version specifed in the version attribute.
  • ['conqueso']['install']['fromsource'] - Setting this to true will do a fresh git clone from the conqueso github project.
  • ['conqueso']['http']['port'] - The port the conqueso server runs on.
  • ['conqueso']['db']['type'] - The type of the backend to use (CASE SENSITIVE!).
  • ['conqueso']['db']['host'] - The hostname or ipaddress where the host can be found.
  • ['conqueso']['db']['port'] - The port your backend is listening on.
  • ['conqueso']['db']['databaseName'] - The name of the database conqueso should use.
  • ['conqueso']['db']['user'] - The db user the conqueso server should connect as.
  • ['conqueso']['db']['password'] - The password for the user you're connecting as.
  • ['conqueso']['db']['maxConnections'] - The max connections sequelize should use.
  • ['conqueso']['db']['maxIdleTime'] - The max idle time sequelize should use per connection. PLEASE NOTE - This setting is in MILLISECONDS.
  • ['conqueso']['pollintervalsecs'] - The polling interval it should use.
  • ['conqueso']['logging']['dir'] - The directory that will contain the conqueso log file.
  • ['conqueso']['logging']['file'] - The log file name it should use.
  • ['conqueso']['logging']['level'] - The log level conqueso should run at.
  • ['conqueso']['install']['mysqlserver'] - Should we install the mysql server.
  • ['conqueso']['install']['mysqlclient'] - Should we install the mysql client.
  • ['conqueso']['start'] - Post installation, should conqueso be started.

Requirements

  • Chef 10 or higher
  • Ruby 1.9 (preferably from the Chef full-stack installer)

Getting Started

The first order of business is to install Virtual Box.

Once you have that up and running, the next thing you'll need is Berkshelf.

Besure to follow the vagrant-berkshelf section on that page.

Once you have all that set up, git clone this repo then you should be able to vagrant up within that directory and you'll have a running copy of the Conqueso service.

To actually use the cookbook, you should just need to to use the wrapper type pattern by just using an import and overriding any attributes you need to change from the base cookbook.

Example

#in your recipe you can define these:
include_recipe "conqueso-chef"
node.set["conqueso"]["db"]["host"] = "your db host here"
node.set["conqueso"]["db"]["user"] = "your db user name here"
node.set["conqueso"]["db"]["password"] = "your db password here"

chef-conqueso's People

Contributors

eciramella avatar jmanero-r7 avatar swillard-r7 avatar stevewillard avatar dgreene-r7 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.