Giter Site home page Giter Site logo

etna-alternance / dotdeb-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gebeater/dotdeb-cookbook

0.0 5.0 1.0 22 KB

Chef cookbook to add the Dotdeb repository to Debian boxes.

Home Page: http://community.opscode.com/cookbooks/dotdeb_repo

License: MIT License

Ruby 93.15% Shell 6.85%

dotdeb-cookbook's Introduction

dotdeb_repo Cookbook

Build Status Dependency Status

This cookbook includes recipes to add the Dotdeb repository to your Debian "Squeeze" or "Wheezy" systems to turn the boxes into powerful, stable and up-to-date LAMP servers.

Further information regarding the Dotdeb repository is available via http://www.dotdeb.org/ .

Recipes

dotdeb_repo::default

Adds the main repository to the sources.list.d and installs the GnuPG key.

dotdeb_repo::php_newest

Adds additional repository to the sources.list.d to install PHP 5.4 on Debian 6.0 "Squeeze" or PHP 5.5 on Debian 7.0 "Wheezy".

Attributes

  • ['dotdeb_repo']['priority'] - the priority of the repository (default 700)

Contribution

Virtual Development Environment

In order to ease the life of developers and prevent that the local machine looks like a rubbish tip a Vagrantfile has beend added.

Using Vagrant to create a virtual development environment is quite simple by follow these steps:

  1. Install Virtual Box
  2. Install Vagrant
  3. Install Vagrant-Berkshelf Plugin
  4. Install Chef

Version Requirements

The present (vagrant) configuration uses Berkshelf >= 3.0, which required Vagrant >= 1.5.2 as well as vagrant-berkshelf plugin >= 2.0.0. The instructions below have been successfully applied on Debian 7.5.

cd /tmp
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.3_x86_64.deb
dpkg -i vagrant_1.6.3_x86_64.deb
vagrant plugin install vagrant-berkshelf --plugin-version 2.0.1

Preparation of the Virtual Environment

cd /tmp
git clone [email protected]:GeBeater/dotdeb-cookbook.git
cd dotdeb-cookbook
vagrant up

Tests

In order to validate changes at the recipes and these effects you can provision the virtual environment via the vagrant provision command from the host system.

The lint tool and spec can be run from the guest system in the folder /vagrant via bundle exec rake.

License

MIT License

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.