GithubHelp home page GithubHelp logo

vijaykanthm28 / chef-repo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from megamsys/chef-repo

0.0 2.0 0.0 26.95 MB

Chef cookbooks used by megam

Home Page: https://www.megam.io

Ruby 66.39% Perl 3.24% HTML 27.10% Shell 1.97% Python 1.25% ApacheConf 0.05%

chef-repo's Introduction

Overview

Megam cloud platform: Chef installation uses this Chef Repository. This is the place where cookbooks, roles, config files and other artifacts for managing systems with Chef will live.

Requirements

Chef 11 +

Tested on Ubuntu 14.04 on public clouds, OpenNebula

Once you clone the https://github.com/megamsys/chef-repo.git You will notice a slew of directories.

Repository Directories

This repository contains several directories, and each directory contains a README file that describes what it is for in greater detail, and how to use it for managing your systems with Chef.

  • certificates/ - SSL certificates generated by rake ssl_cert live here.
  • config/ - Contains the Rake configuration file, rake.rb.
  • cookbooks/ - Cookbooks you download or create.
  • data_bags/ - Store data bags and items in .json in the repository.
  • roles/ - Store roles in .rb or .json in the repository.

Cookbooks

The repository contains cookbooks as customized for Megam cloud platform.

Cookbooks prefixed with megam- includes tasks that are customized for megam platform.

What is [megam](https://www.megam.io), code,console.

The following cookbooks-* have manual steps to be performed.

megam_rabbitmq

`run ROLE rabbitmq-master`

change the attributes before trying to run slave
`default['rabbitmq']['cluster_disk_nodes'] = ["#{node['rabbitmq']['current_node']}", 'rabbit@ip-10-148-66-126']` 

`knife cookbook upload megam_rabbitmq`

`run ROLE rabbitmq-slave`

megam_rails_application

Point to a valid respository
`default[:rails][:deploy][:repository] = "https://github.com/indykish/aryabhata.git"` 

megam_postgresql

Refer postgres - README.md

megam_redis2

This cookbook uses runit version 0.15.0

riak

```
Enable the below ports in security group
6000
7999
8098
8087
```
`run ROLE riak for master`

Change attributes before trying to run slave

`default['riak']['cluster']['node_name'] = riak-master's dns`

`knife cookbook upload riak`

`run ROLE riak for slave`

Next Steps

Read the README file in each of the subdirectories for more information about what goes in those directories.

License

Author: Thomas Alrin ([email protected])
Copyright: Copyright (c) 2013-2015 Megam Systems.
License: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

chef-repo's People

Contributors

ranjithamca avatar logesheswar avatar morpheyesh avatar subashsethurajan avatar vinov-megam avatar rajesh-rajagopal avatar

Watchers

James Cloos avatar Vijayakanth Mathaiyan 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.