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

pxe (1) Versions 1.0.5

Installs local bootstraping and installation system via PXE booting.

Policyfile
Berkshelf
Knife
cookbook 'pxe', '~> 1.0.5', :supermarket
cookbook 'pxe', '~> 1.0.5'
knife supermarket install pxe
knife supermarket download pxe
README
Dependencies
Changelog
Quality 33%

Build Status

pxe

PXE boot cookbook.
* Depends on apt cookbook.
* Depends on yum cookbook.
* Depends on tftp cookbook.
* Depends on apache2 cookbook.

Supported Platforms

Supported systems:
<ol>
<li>Ubuntu 12.04</li>
<li>Ubuntu 14.04</li>
<li>Centos 6.5</li>
</ol>

Attributes

Key Type Description Value
default['dhcp']['eth'] text Ethernet adapter name for dhcp server. E.g "eth1"
default['dhcp']['configs']['subnet'] text Subnet IP E.g. '192.168.56.0'
default['dhcp']['configs']['routers'] text IP of dhcp router E.g. '192.168.56.5'
default['dhcp']['configs']['next_server'] text IP that points to TFTPD server E.g. "192.168.56.5"
default['dhcp']['configs']['dynamic_range'] text Range of IP for clients E.g. "192.168.56.100 192.168.56.200"
default['dhcp']['configs']['subnet_mask'] text Subnet mask E.g. "255.255.255.0"
default['download']['default_image'] boolean Prepare default PXE netboot image. True will download a minimal centos. true/false
default['pxe']['hostname'] text IP or hostname for apache virtual host E.g. "192.168.56.5"

TODO:

  • Complete the documentation.

Usage

pxe::default

Include pxe in your node's run_list:

{
  "run_list": [
    "recipe[pxe::default]"
  ]
}

If you have a restrict access to internet, change attribute value
default['download']['from_web'] = 'false'.
Then put downloaded by yourself CentOS 6.5 minimal image to files, to be able import ISO as a default netboot image.
To download an iso, please use the files/default/centos_minimal_dl.sh

Contributing

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

License and Authors

Author:: Denis Chekirda (dchekirda@gmail.com)

Dependent cookbooks

apt >= 0.0.0
yum >= 0.0.0
tftp >= 0.0.0
apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

1.0.5

  • Bug fixing.
  • Serverspec tests.

1.0.4

  • Added checks to prevent multiple executions of mount/umount while converge.
  • Added support for Ubuntu 14.04

1.0.3

Chef cookbook to install PXE network booting server.
* Small fixes
* Added support of CentOS 6.5 and Ubuntu 12.04

1.0.0

  • Initial release of pxe.

Collaborator Number Metric
            

1.0.5 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.5 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.5 failed this metric

FC064: Ensure issues_url is set in metadata: pxe/metadata.rb:1
FC065: Ensure source_url is set in metadata: pxe/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pxe/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: pxe/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.5 passed this metric

Testing File Metric
            

1.0.5 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.5 passed this metric