cookbook 'spacewalk-client', '= 0.1.6'
spacewalk-client (15) Versions 0.1.6 Follow3
Installs/Configures a Spacewalk client
cookbook 'spacewalk-client', '= 0.1.6', :supermarket
knife supermarket install spacewalk-client
knife supermarket download spacewalk-client
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
0.1.6 passed this metric