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

spacewalk-client (15) Versions 0.1.6

Installs/Configures a Spacewalk client

Policyfile
Berkshelf
Knife
cookbook 'spacewalk-client', '= 0.1.6', :supermarket
cookbook 'spacewalk-client', '= 0.1.6'
knife supermarket install spacewalk-client
knife supermarket download spacewalk-client
README
Dependencies
Changelog
Quality 100%

spacewalk-client Cookbook

This cookbook installs and registers a node as a Spacewalk client.

Requirements

  • Ubuntu 12.04, 14.04
  • CentOS/RHEL 5,6,7

Attributes

default['spacewalk']['pkg_source_path'] = Chef::Config[:file_cache_path]
default['spacewalk']['rhel']['base_url'] = 'http://yum.spacewalkproject.org/2.2-client/RHEL'
default['spacewalk']['reg']['key'] = 'my_activation_key'
default['spacewalk']['reg']['server'] = 'http://spacewalk.example.com'
default['spacewalk']['enable_osad'] = false

Usage

spacewalk-client::rhel

Include spacewalk-client::rhel in your node's run_list and set the default['spacewalk']['reg'] attributes.

spacewalk-client::ubuntu

Include spacewalk-client::ubuntu in your node's run_list and set the default['spacewalk']['reg'] attributes.

For 12.04 only, make sure you somehow (cookbook_file, remote_file..) put the following files in default['spacewalk']['pkg_source_path']
- apt-transport-spacewalk-1.0.6-2.all-deb.deb
- python-ethtool-0.11-2.amd64-deb.deb
- python-rhn-2.5.55-2.all-deb.deb
- rhn-client-tools-1.8.26-4.amd64-deb.deb
- rhnsd-5.0.4-3.amd64-deb.deb
(if you want OSAD)
- rhncfg_5.10.14-1ubuntu1.all.deb
- pyjabber_0.5.0-1.4ubuntu3.all.deb
- osad_5.11.27-1ubuntu1.all.deb

You can build them yourself like described here
http://www.devops-blog.net/spacewalk/registering-ubuntu-and-debian-servers-with-spacewalk
and the OSAD packages from here
https://launchpad.net/~mj-casalogic/+archive/ubuntu/spacewalk-ubuntu/+packages

License and Authors

Authors: Phil Schuler http://devops-blog.net

Dependent cookbooks

yum-epel >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

spacewalk-client CHANGELOG

This file is used to list changes made in each version of the spacewalk-client cookbook.

0.1.6

  • Restart osad after registering with Spacewalk

0.1.5

  • Install OSAD on clients if default['spacewalk']['enable_osad'] = true . Supports RHEL and Ubuntu
  • Changed the .deb package filenames and removed obsolete '-deb'

0.1.4

  • Bumped rhn-client-tools package to new version fixing the xmlrpclib.py workaround
  • removed obsolete file xmlrpclib.py
  • Allow to choose url to download spacewalk package (PR by https://github.com/obazoud thx!)

0.1.3

  • Missing file for 0.1.1.

0.1.1

  • Fixed the 'repodata() takes exactly 2 arguments' exception with Ubuntu clients

0.1.0

  • [your_name] - Initial release of spacewalk-client

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric
            

0.1.6 passed this metric