GithubHelp home page GithubHelp logo

mconf / chef-recipes Goto Github PK

View Code? Open in Web Editor NEW
10.0 8.0 11.0 3.03 MB

This repository is DEPRECATED, see https://github.com/mconf-cookbooks/mconf-live-solo

Ruby 52.45% Perl 9.67% HTML 28.06% Shell 2.61% Makefile 0.01% Python 1.81% C 4.78% JavaScript 0.61%

chef-recipes's Introduction

chef-recipes

This repository stores contains all chef cookbooks used by Mconf. It is a collection of the cookbooks developed for Mconf plus all of their dependencies. For the latest versions of the cookbooks and to install the cookbooks in your own setup, see https://github.com/mconf-cookbooks/.

To see the version of chef being used see .chef-version.

Working with librarian

Install it:

bundle install

To add a cookbook, first add it to Cheffile and then (note: it's always usefull to use --verbose with librarian):

bundle exec librarian-chef install [--verbose]

Update a cookbook:

bundle exec librarian-chef update mconf-lb [--verbose]

Vagrant

Install Vagrant.

Install plugins for Vagrant:

vagrant plugin install vagrant-lxc
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-librarian-chef
vagrant plugin install vagrant-omnibus

Download the dependencies:

bundle install
rbenv rehash

cd vagrant/
bundle exec librarian-chef install [--verbose]

Create the VM:

cd ../
vagrant up

Log into the VM

vagrant ssh
cd vagrant/
bundle install

Now you can run chef-solo as in:

sudo chef-solo -c /vagrant/config/solo.rb -j utils/mconf-web.json

Running chef-solo

Install the version of chef described in .chef-version and then run chef-solo as in the example below:

sudo chef-solo -c config/solo.rb -j utils/mconf-web.json

chef-recipes's People

Contributors

alexandrekreis avatar arturodr avatar daronco avatar fcecagno avatar mrcruz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chef-recipes's Issues

nagiosgraph fails due wrong certificate in SVN repo

I had to do this change as it seems that the SVN server hosting the plugin has now a wrong certificate . It was OK a couple of weeks ago.

diff --git a/cookbooks/nagiosgraph/recipes/default.rb b/cookbooks/nagiosgraph/recipes/def
index 985846f..5158fb8 100644
--- a/cookbooks/nagiosgraph/recipes/default.rb
+++ b/cookbooks/nagiosgraph/recipes/default.rb
@@ -19,6 +19,7 @@ end
 subversion "#{Chef::Config[:file_cache_path]}/nagiosgraph" do
     repository "https://svn.code.sf.net/p/nagiosgraph/code/trunk/nagiosgraph"
     revision "578"
+    svn_arguments '--trust-server-cert --non-interactive'
     action :sync
     notifies :run, "execute[nagiosgraph check prerequisites]", :immediately
 end

Chef exits with Fatal Error

Chef Client failed. 8 resources updated
[2015-07-01T15:44:37+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

How to slove this problem???
Am installing Mconf-Live Standalone in a server running ubuntu 14.04 64bit

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.