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

ips (2) Versions 0.1.0

A fabulous new cookbook

Policyfile
Berkshelf
Knife
cookbook 'ips', '~> 0.1.0', :supermarket
cookbook 'ips', '~> 0.1.0'
knife supermarket install ips
knife supermarket download ips
README
Dependencies
Changelog
Quality 50%

ips Cookbook

The IPS cookbook exposes a pair of resources that are used with the
Image Package System, a packaging system used on Oracle Solaris,
Illumos, SmartOS, OmniOS, and others.

The IPS cookbook exposes the ips_publisher resource that allows a
user to set IP publisher sources on systems that support IPS.
This usually means Oracle Solaris, and Illumos systems like OmniOS.

Requirements

  • Chef 11 or higher
  • Ruby 1.9 (preferably from the Chef full-stack installer)

Resources/Providers

ips_publisher

The ips_publisher resource manages package sources that are available
to the system for package installation. This is like managing
/etc/yum.repo.d . It manages pkg set-publisher commands, and will
repair publisher settings when needed.

Example

add the OmniTI Managed Services repository

ips_publisher 'OmniTI Managed Services' do
  publisher 'ms.omniti.com'
  url 'http://pkg.omniti.com/omniti-ms/'
  action :create
end

Actions

  • :create - creates a publisher
  • :delete - deletes a publisher

Parameters

  • publisher - Must be a string value for the publisher, as consumed
    by the pkg set-publisher and pkg unset-publisher commands.

  • url - Must be a string value for the URL, as consumed by the pkg
    set-publisher
    and pkg unset-publisher commands.

ips_repo

The ips_repo resource manages a IPS package repository, which contains
packages and can serve them either locally or via HTTP. It manages the
pkgrepo command, and the pkg/server SMF service (known as svc.depotd)

Actions

  • :create - create a repo on the filesystem
  • :enable_depot - expose a repo via HTTP. Implies :create.
  • :disable_depot - stop serving over HTTP, but leave repo on filesystem.
  • :delete - Eradicate the repo from the filesystem. Implies :disable_depot.

Parameters

  • path - Required, filesystem path to use for repo. If you want this on ZFS, you should set that up prior to this.
  • default_publisher - Required, publisher name to assign when packages are written to the repo.
  • readonly - Default true. If false, anyone can publish a package to the repo. If using depot, consider authentication using nginx or similar.
  • port - Default 10000. What port to run the depot instance on, if :enable_depot is the action.

Usage

Consume as a normal Chef resource after putting depends 'ips' in a cookbooks metadata.rb

Recipes

No user recipes are included. Two test recipes are included which are used in Test Kitchen testing.

License & Authors

Copyright:: 2008-2013 Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

ips-omniti Applicable Versions

ips CHANGELOG

v0.1.0 (2015-01-12)

  • Adding ips_repo, various fixes from OmniTI

v0.0.2 (2014-03-24)

  • Adding CHANGELOG.md, LICENSE, and README

v0.0.1

Initial release

Collaborator Number Metric
            

0.1.0 passed this metric

Contributing File Metric
            

0.1.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.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.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.1.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