Giter Site home page Giter Site logo

sbarber / puppetlabs-apt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from puppetlabs/puppetlabs-apt

0.0 1.0 0.0 236 KB

Puppet module to help manage Apt

Home Page: https://forge.puppetlabs.com/puppetlabs/apt

License: MIT License

Puppet 43.38% Ruby 56.62%

puppetlabs-apt's Introduction

Apt module for Puppet

Description

Provides helpful definitions for dealing with Apt.

Usage

apt

The apt class provides a number of common resources and options which are shared by the various defined types in this module. This class should always be included in your manifests if you are using the apt module.

class { 'apt':
  always_apt_update    => false,
  disable_keys         => undef,
  proxy_host           => false,
  proxy_port           => '8080',
  purge_sources_list   => false,
  purge_sources_list_d => false,
  purge_preferences_d  => false
}

apt::builddep

Install the build depends of a specified package.

apt::builddep { "glusterfs-server": }

apt::force

Force a package to be installed from a specific release. Useful when using repositories like Debian unstable in Ubuntu.

apt::force { "glusterfs-server":
  release => "unstable",
  version => '3.0.3',
  require => Apt::Source["debian_unstable"],
}

apt::pin

Add an apt pin for a certain release.

apt::pin { "karmic": priority => 700 }
apt::pin { "karmic-updates": priority => 700 }
apt::pin { "karmic-security": priority => 700 }

apt::ppa

Add a ppa repository using add-apt-repository. Somewhat experimental.

apt::ppa { "ppa:drizzle-developers/ppa": }

apt::release

Set the default apt release. Useful when using repositories like Debian unstable in Ubuntu.

apt::release { "karmic": }

apt::source

Add an apt source to /etc/apt/sources.list.d/.

apt::source { "debian_unstable":
  location          => "http://debian.mirror.iweb.ca/debian/",
  release           => "unstable",
  repos             => "main contrib non-free",
  required_packages => "debian-keyring debian-archive-keyring",
  key               => "55BE302B",
  key_server        => "subkeys.pgp.net",
  pin               => "-10",
  include_src       => true
}

This source will configure your system for the Puppet Labs APT repository.

apt::source { 'puppetlabs':
  location   => 'http://apt.puppetlabs.com',
  repos      => 'main',
  key        => '4BD6EC30',
  key_server => 'pgp.mit.edu',
}

apt::key

Add a key to the list of keys used by apt to authenticate packages.

apt::key { "puppetlabs":
  key        => "4BD6EC30",
  key_server => "pgp.mit.edu",
}

apt::key { "jenkins":
  key        => "D50582E6",
  key_source => "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key",
}

Note that use of the "key_source" parameter requires wget to be installed and working.

Contributors

A lot of great people have contributed to this module. A somewhat current list follows.

Ben Godfrey [email protected] Branan Purvine-Riley [email protected] Christian G. Warden [email protected]
Dan Bode [email protected] [email protected]
Garrett Honeycutt [email protected]
Jeff Wallace [email protected] [email protected]
Ken Barber [email protected]
Matthaus Litteken [email protected] [email protected]
Matthias Pigulla [email protected]
Monty Taylor [email protected]
Peter Drake [email protected]
Reid Vandewiele [email protected]
Robert Navarro [email protected]
Ryan Coleman [email protected]
Scott McLeod [email protected]
Spencer Krum [email protected]
William Van Hevelingen [email protected] [email protected]
Zach Leslie [email protected]

puppetlabs-apt's People

Contributors

nanliu avatar bodepd avatar haus avatar kbarber avatar blkperl avatar branan avatar cwarden avatar ody avatar mpdude avatar reidmv avatar tbroyer avatar rnavarro avatar jamtur01 avatar adrienthebo avatar antonlindstrom avatar ghoneycutt avatar tjwallace avatar emonty avatar rskvazh avatar saz avatar albac avatar ytjohn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.