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.2.2

Installs/Configures a Spacewalk client

Policyfile
Berkshelf
Knife
cookbook 'spacewalk-client', '~> 0.2.2', :supermarket
cookbook 'spacewalk-client', '~> 0.2.2'
knife supermarket install spacewalk-client
knife supermarket download spacewalk-client
README
Dependencies
Changelog
Quality 0%

spacewalk-client Cookbook

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

Requirements

  • Ubuntu 12.04, 14.04, 16.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.6-client/RHEL'
default['spacewalk']['rhel']['repo_version'] = '2.6-0'
default['spacewalk']['reg']['key'] = 'my_activation_key'
default['spacewalk']['reg']['server'] = 'http://spacewalk.example.com'
default['spacewalk']['enable_osad'] = false
default['spacewalk']['enable_rhncfg'] = false
default['spacewalk']['rhncfg']['actions']['run'] = false # systems also need provisioning entitlement

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.

Make sure you somehow (cookbook_file, remote_file..) put the following files in default['spacewalk']['pkg_source_path']
- apt-transport-spacewalk_1.0.6-4.1_all.deb
- python-ethtool_0.11-3_amd64.deb (dont use 0.12-1, causes segfault on xenial)
- python-rhn_2.5.72-1_all.deb
- rhn-client-tools_1.8.26-4_amd64.deb
- rhnsd_5.0.4-3_amd64.deb
- rhncfg_5.10.14-1ubuntu1_all.deb

(if you want OSAD)
- pyjabber_0.5.0-1.4ubuntu3.all.deb
- osad_5.11.27-1ubuntu1.all.deb

these versions are tested to work with Ubuntu trusty and xenial

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.2.2

0.2.1

  • removed the prebuilt .deb client packages that slipped in

0.2.0

  • updated the Ubuntu client package versions
  • updated RHEL client repo version to 2.6-0, still was 2.2-1

0.1.12

  • added client repo version as attribute for ::rhel

0.1.11

  • added trigger to enable the ability to execute remote scripts

0.1.10

0.1.9

  • install the .debs and dependencies in correct order so we dont need "apt-get -f" afterwards and avoid errors that would need to be ignored

0.1.8

  • Added proper support for Ubuntu 14. The available packages from trusty repo are outdated and broken.

0.1.7

  • Fixed bug with OSAD being disabled but recipe tried to notify it (PR by https://github.com/obazoud thx!)
  • Fixed bug with spacewalk repo rpm not being installed

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.

Collaborator Number Metric
            

0.2.2 failed this metric

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

Contributing File Metric
            

0.2.2 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
            

0.2.2 failed this metric

FC064: Ensure issues_url is set in metadata: spacewalk-client/metadata.rb:1
FC065: Ensure source_url is set in metadata: spacewalk-client/metadata.rb:1
FC066: Ensure chef_version is set in metadata: spacewalk-client/metadata.rb:1
FC069: Ensure standardized license defined in metadata: spacewalk-client/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.2 failed this metric

Failure: Cookbook should not contain binaries. Found:
spacewalk-client/recipes/default.rb

Testing File Metric
            

0.2.2 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
            

0.2.2 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 include a tag that matches this cookbook version number