Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmycuadra/vagrant-librarian-chef
*UNMAINTAINED* A Vagrant plugin to install Chef cookbooks using Librarian-Chef.
https://github.com/jimmycuadra/vagrant-librarian-chef
deprecated librarian-chef ruby unmaintained vagrant vagrant-provisioner
Last synced: 12 days ago
JSON representation
*UNMAINTAINED* A Vagrant plugin to install Chef cookbooks using Librarian-Chef.
- Host: GitHub
- URL: https://github.com/jimmycuadra/vagrant-librarian-chef
- Owner: jimmycuadra
- License: mit
- Created: 2013-04-10T03:54:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-01-21T09:11:39.000Z (about 9 years ago)
- Last Synced: 2024-10-19T03:23:05.010Z (3 months ago)
- Topics: deprecated, librarian-chef, ruby, unmaintained, vagrant, vagrant-provisioner
- Language: Ruby
- Homepage:
- Size: 27.3 KB
- Stars: 78
- Watchers: 4
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# vagrant-librarian-chef
*WARNING: This project is no longer maintained. You should use [Berkshelf](http://berkshelf.com/) instead.*
A [Vagrant](http://www.vagrantup.com/) plugin to install
[Chef](http://www.opscode.com/chef/) cookbooks using
[Librarian-Chef](https://github.com/applicationsonline/librarian-chef).## Requirements
* Vagrant version 1.2.0 or greater.
## Installation
``` bash
vagrant plugin install vagrant-librarian-chef
```## Usage
Vagrant will automatically run Librarian-Chef before any provisioning step, so
simply set up your Cheffile as you normally would.You may specify the subdirectory within which to run `librarian-chef`
using the `librarian_chef.cheffile_dir` config key. Please keep in mind
that you will need to explicitly set the `cookbooks_path` in the
`:chef_solo` provisioner:```ruby
Vagrant.configure("2") do |config|config.librarian_chef.cheffile_dir = "chef"
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "chef/cookbooks"...
end
end
```Librarian-Chef can be configured normally via configuration file at `.librarian/chef/config`. Again, if you change the path where cookbooks are installed by Librarian-Chef, make sure your Vagrantfile is updated to tell Vagrant's Chef provisioner where to look for them via the `cookbooks_path` attribute.
If you want to programmtically disable the plugin without uninstalling it, set the `enabled` attribute to false:
``` ruby
config.librarian_chef.enabled = false
```## Development
Vagrant 1.5.0 or greater is required.
``` bash
bundle
bundle exec vagrant up
```## Acknowledgements
Thank you to [@thegcat](https://github.com/thegcat) and other contributors for their work on
[vagrant-librarian](https://github.com/thegcat/vagrant-librarian), an earlier
version of this functionality for Vagrant 1.0.x and the original Librarian gem
with integrated Librarian-Chef.