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-server (7) Versions 0.4.0

Installs/Configures a Spacewalk Server

Policyfile
Berkshelf
Knife
cookbook 'spacewalk-server', '~> 0.4.0', :supermarket
cookbook 'spacewalk-server', '~> 0.4.0'
knife supermarket install spacewalk-server
knife supermarket download spacewalk-server
README
Dependencies
Changelog
Quality 17%

Spacewalk Server Cookbook

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

Requirements

  • RHEL / CentOS > 6

Recipes

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.

Attributes

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']['errata']['user'] = 'admin'
default['spacewalk']['errata']['password'] = 'admin'
# 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'

Author

Phil Schuler http://devops-blog.net

Based on https://github.com/yacn/spacewalk-server-chef by "Yet Another Clever Name" (admin@yacn.pw)

Dependent cookbooks

ohai >= 0.0.0
iptables >= 0.0.0
yum > 3.0.0
yum-epel >= 0.0.0
yum-fedora >= 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

0.4.0

  • Updated to install Spacewalk 2.7

0.3.0

  • Updated to install Spacewalk 2.6
  • removed debianSync.py script as SW 2.6 supports syncing debian repos now
  • removed patch for python-debian package which has been fixed upstream by now

0.2.6

  • Replaced the Perl debian-repo sync script with a overhauled Python version
  • Minor bugfixes

0.2.5:

0.2.4:

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

0.2.3:

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

0.2.2:

  • Moved Errata import prior to repo-sync

0.2.1:

  • Working repo-sync and errata import for Ubuntu channels

0.2.0:

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

0.1.0:

  • Initial release

Collaborator Number Metric
            

0.4.0 failed this metric

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

Contributing File Metric
            

0.4.0 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.4.0 failed this metric

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

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.0 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.4.0 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