Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

virtual_hosts (2) Versions 0.1.0

Configures Apache virtual hosts

Policyfile
Berkshelf
Knife
cookbook 'virtual_hosts', '= 0.1.0', :supermarket
cookbook 'virtual_hosts', '= 0.1.0'
knife supermarket install virtual_hosts
knife supermarket download virtual_hosts
README
Dependencies
Quality -%

Virtual Hosts Cookbook

This cookbook makes configuring Apache virtual hosts.
Especially useful for Vagrant.

Usage

Vagrant::Config.run do |config|
  chef.add_recipe "apache2"
  chef.add_recipe "virtual_hosts"

  config.vm.provision :chef_solo do |chef|
    chef.json = {
      :virtual_hosts => [{
        "web1" => {
          "docroot"        => "/home/vagrant/web2",
          "server_name"    => "web1.local",
          "server_aliases" => ["*.webapp1"],
        },
        "web2" => {
          "docroot"        => "/home/vagrant/web2",
          "server_name"    => "web2.local",
          "server_aliases" => ["*.webapp2"],
        }
      }]
    }
  end
end

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License

The MIT License

Copyright (c) 2013 Andrey Deryabin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependent cookbooks

apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found