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

aptly (37) Versions 0.2.8

Installs/Configures aptly

Policyfile
Berkshelf
Knife
cookbook 'aptly', '= 0.2.8', :supermarket
cookbook 'aptly', '= 0.2.8'
knife supermarket install aptly
knife supermarket download aptly
README
Dependencies
Changelog
Quality 43%

aptly Cookbook

This cookbook installs and configures aptly (http://www.aptly.info)

Requirements

Platform

  • Ubuntu 12.04
  • Ubuntu 14.04

Attributes

  • default['aptly']['uri'] = 'http://repo.aptly.info/'
  • default['aptly']['dist'] = "squeeze"
  • default['aptly']['components'] = ['main']
  • default['aptly']['keyserver'] = 'keys.gnupg.net'
  • default['aptly']['key'] = '2A194991'
  • default['aptly']['user'] = 'aptly'
  • default['aptly']['group'] = 'aptly'
  • default['aptly']['rootdir'] = "/opt/aptly"
  • default['aptly']['downloadconcurrency'] = 4
  • default['aptly']['architectures'] = []
  • default['aptly']['dependencyfollowsuggests'] = false
  • default['aptly']['dependencyfollowrecommends'] = false
  • default['aptly']['dependencyfollowallvariants'] = false
  • default['aptly']['dependencyfollowsource'] = false
  • default['aptly']['gpgdisablesign'] = false
  • default['aptly']['gpgdisableverify'] = false
  • default['aptly']['downloadsourcepackages'] = false
  • default['aptly']['ppadistributorid'] = ""
  • default['aptly']['ppacodename'] = ""

Recipes

default

Installs aptly

Usage

add to run_list

include recipe

include_recipe "aptly"

Examples

aptly_repo "myrepo" do
  action :create
  comment "A repository of packages"
  component "main"
  distribution "Ubuntu"
end
aptly_repo "myrepo" do
  action :create
end
aptly_repo "myrepo" do
  action :drop
end
aptly_repo "myrepo" do
  action :add
  file "/path/to/package-1.0.1.deb"
end
aptly_repo "myrepo" do
  action :add
  directory "/path/to/packages"
end
aptly_repo "myrepo" do
  action :remove
  file "/path/to/package-1.0.1.deb"
end
aptly_mirror "ubuntu-precise-main" do
  action :create
  distribution "precise"
  component "main"
  keyid "437D05B5"
  keyserver "keys.gnupg.net"
  uri "http://ubuntu.osuosl.org/ubuntu/"
  filter "my_awesome_package"
end
aptly_mirror "ubuntu-precise-main" do
  action :update
end
aptly_mirror "ubuntu-precise-main" do
  action :drop
end
aptly_snapshot "pulltest" do
  action :create
  from "myrepo"
  type "repo"
  empty false
end
aptly_snapshot "pulltest" do
  action :drop
end
aptly_snapshot "merged-snapshot" do
  action :merge
  merge_source1 "pullrepo1"
  merge_source2 "pullrepo2"
end
aptly_snapshot "merged-snapshot" do
  action :verify
end
aptly_snapshot "pulledpork" do
  action :pull
  deps false
  remove false
  package "package-1.0.1"
  resource "pullrepo1"
  source "pullrepo2"
end
aptly_publish "myrepo" do
  action :create
  type "repo"
  prefix "foo"
end
aptly_publish "myrepo" do
  action :create
  source ['myrepo-main', 'myrepo-contrib']
  type "repo"
  prefix "foo"
end
aptly_publish "pulledpork" do
  action :create
  type "snapshot"
  prefix "bar"
end
aptly_publish "mycompany" do
  action :update
  prefix "foo"
end
aptly_publish "mycompany" do
  action :drop
  prefix "foo"
end
aptly_db "cleanup" do
  action :cleanup
end
aptly_db "recover" do
  action :recover
end

License & Authors

Copyright 2014, Heavy Water Operations, LLC

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

apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

aptly CHANGELOG

This file is used to list changes made in each version of the aptly cookbook.

0.2.8

  • Update GPG Key for aptly repository

0.2.6

  • Support for multi-component publishing #16
  • Add filter attribute in mirror provider #17

0.2.4

  • use exact matches in provider for not_if checks
  • Add chefspec matchers

0.2.3

  • Support for cookbook file to distribute gpg key
  • Initializing gpg config for default user

0.2.2

  • Helper to define proper environment
  • Add repo attribute to repo resource
  • Fix group owner attribute
  • Correction for aptly user seed action 0.2.1 -----
  • [Aaron Baer] - bug fix for writing files to the system as the wrong user

0.2.0

  • [Aaron Baer] - add providers for all aptly functionality

0.1.0

  • [Aaron Baer] - Initial release of aptly

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

Contributing File Metric
            

0.2.8 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.8 failed this metric

FC064: Ensure issues_url is set in metadata: aptly/metadata.rb:1
FC065: Ensure source_url is set in metadata: aptly/metadata.rb:1
FC066: Ensure chef_version is set in metadata: aptly/metadata.rb:1
FC069: Ensure standardized license defined in metadata: aptly/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: aptly/resources/db.rb:1
FC074: LWRP should use DSL to define resource's default action: aptly/resources/mirror.rb:1
FC074: LWRP should use DSL to define resource's default action: aptly/resources/publish.rb:1
FC074: LWRP should use DSL to define resource's default action: aptly/resources/repo.rb:1
FC074: LWRP should use DSL to define resource's default action: aptly/resources/snapshot.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.8 passed this metric

No Binaries Metric
            

0.2.8 passed this metric

Testing File Metric
            

0.2.8 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.8 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