Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/illotum/chef-vcl
Installs and configures Apache VCL (using unofficial repo).
https://github.com/illotum/chef-vcl
Last synced: about 1 month ago
JSON representation
Installs and configures Apache VCL (using unofficial repo).
- Host: GitHub
- URL: https://github.com/illotum/chef-vcl
- Owner: illotum
- License: other
- Created: 2012-11-28T21:51:54.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-24T18:52:26.000Z (over 11 years ago)
- Last Synced: 2024-04-24T02:55:38.729Z (7 months ago)
- Language: Perl
- Size: 146 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apache VCL Chef cookbook
This cookbook installs and configures Apache VCL system on CentOS 6.3# Requirements
## Chef:
* Chef: 0.10.10+## Cookbooks:
Look in `metadata.rb`.## Platforms:
This cookbook supports and was tested on Centos 6.3 only.# Usage
## Init
To prepare a testing environment, install [Vagrant](http://vagrantup.com) first, then
follow these steps:$ gem install bundler
$ git clone https://github.com/illotum/chef-vcl.git
$ cd chef-vcl
$ bundle install## Test
You will need a custom `hosts` recod to point to VM ip:$ sudo echo "192.168.33.10 vcl.vm" >> /etc/hosts
$ bundle exec vagrant upAnd point your browser to the http://vcl.vm. Admin credentials are default `admin:adminVc1passw0rd` as per VCL documentation.
## Chef-Solo
Easiest way to use this cookbook in chef-solo is to use the tar.gz archive
for a transportable cookbooks package:$ bundle exec berks install --path ./cookbooks
$ tar zcvf vcl-package.tar.gz ./cookbooksMove package to the destination server or publish it over the net, and
create a `solo.rb` file which defines
cookbook_path "/url/to/your/archive"Finally invoke chef-solo with this configuration and your attributes defined:
$ chef-solo -c solo.rb -j vcl-attributes.json
# Attributes
Cookbook supports a number of attributes, see `attributes/default.rb`.# Recipes
Only `default` installation exists for now. VCL expects a database server
to reside on the same node.# Author
Author:: Alex Valiushko ()