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


spacewalk-server (6) Versions 0.2.5

Installs/Configures a Spacewalk Server

cookbook 'spacewalk-server', '= 0.2.5'
cookbook 'spacewalk-server', '= 0.2.5', :supermarket
knife cookbook site install spacewalk-server
knife cookbook site download spacewalk-server

Spacewalk Server Cookbook

This cookbook installs and configures a node as a Spacewalk server. It also sets up Errata support if you like.


  • RHEL / CentOS > 6


Include spacewalk-server::default for basic Spacewalk installation.

Include spacewalk-server::ubuntu for setting up repo-sync and errata import for Ubuntu channels.

Include spacewalk-server::rhel for setting up repo-sync and errata import for CentOS/RHEL channels. ( write this recipe and PR please )

Include spacewalk-server::iptables to configure iptables for Spacewalk.


default['spacewalk']['server']['db']['type'] = 'postgres'
default['spacewalk']['server']['errata'] = true # configure errata import scripts+crons
default['spacewalk']['hostname'] = node['hostname']

# Answer file configuration
default['spacewalk']['server']['admin_email'] = 'root@localhost'
default['spacewalk']['server']['ssl']['org'] = 'Spacewalk Org'
default['spacewalk']['server']['ssl']['org_unit'] = 'spacewalk'
default['spacewalk']['server']['ssl']['city'] = 'My City'
default['spacewalk']['server']['ssl']['state'] = 'My State'
default['spacewalk']['server']['ssl']['country'] = 'US'
default['spacewalk']['server']['ssl']['password'] = 'spacewalk'
default['spacewalk']['server']['ssl']['email'] = 'root@localhost'
default['spacewalk']['server']['ssl']['config_vhost'] = 'Y'
default['spacewalk']['server']['enable_tftp'] = 'Y'

# ::ubuntu configuration
# login for Spacewalk
default['spacewalk']['sync']['user'] = 'admin'
default['spacewalk']['sync']['password'] = 'admin'
# the channels to be synced. need to manually create them in Spacewalk for the crons to work
default['spacewalk']['sync']['channels'] = {'precise' => '',
                                            'precise-updates' => '',
                                            'precise-security' => ''
# when should repo sync be run. should be AFTER errata import
default['spacewalk']['sync']['cron']['h'] = '7'
default['spacewalk']['sync']['cron']['m'] = '0'
# channels to be excluded from errata, like base which doesnt have updates
default['spacewalk']['errata']['exclude-channels'] = "'precise'" # multiple = "'precise','trusty'"
# when should errata be imported. should be AFTER 4:30 GMT+1 because mailinglist gzip gets updaten then
default['spacewalk']['errata']['cron']['h'] = '6'
default['spacewalk']['errata']['cron']['m'] = '0'


Phil Schuler

Based on by "Yet Another Clever Name" (

Dependent cookbooks

perl >= 0.0.0
yum-fedora >= 0.0.0
yum-epel >= 0.0.0
yum > 3.0.0
iptables >= 0.0.0
ohai >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for spacewalk-server

This file is used to list changes made in each version of spacewalk-server



  • Use perl packages from yum rather than installing/compiling with cpanminus


  • Made Errata import and repo-sync cron variable and default to 6am / 7am as the mailinglist gzip is created at 5.30


  • Moved Errata import prior to repo-sync


  • Working repo-sync and errata import for Ubuntu channels


  • Fixing and refactoring to work at all and with Spacewalk 2.2


  • Initial release

Foodcritic Metric

0.2.5 passed this metric