Giter Club home page Giter Club logo

ppa's Introduction

ppa

This puppet module provides defines to manage personal package archives (ppa) in ubuntu.

There will be a failure if you try to use the defines with a distribution other than ubuntu or one of it's derivates.

ppa::repo

With this define you are able to add or remove a ppa to your configuration. If you define a gpg key for the ppa, this key will be imported by the ppa::key define.

Parameters

namevar The name of the resource is the name of the ppa repository to add. The name of the ppa repository is the part after the ppa: string. The rule for the ppa name is 'user/ppaname'; e.g. 'blueyed/ppa'. The default for the ppaname is ppa.

ensure The default value is 'present' to add the ppa repository to the installation. The value 'absent' can be used to remove the ppa repository from the configuration.

apt_key Hashcode of the apt-key of the ppa repository. The key will be retrieved and added to the repository of apt-keys.

comment Optional comment / remark for the ppa repository to be stored in the repository definition file.

dist Name of the distribution for which to retrieve the files from the repository. The default value for the attribute dist will be the value of the facter / variable lsbdistcodename.

supported List of supported distributions. If the value of the attribute dist is not contained the definition will remove the corresponding ppa repository definition.

keyserver Server from which the apt_key should be retrieved. The default of this attribute is keyserver.ubuntu.com.

Examples

ppa::repo { 'blueyed/ppa':
  apt_key => '7CC17CD2'
}

ppa::repo { 'blueyed/ppa':
  ensure => present,
}

ppa::repo { 'blueyed/ppa':
  ensure => absent,
}

ppa::key

The define is used to add or remove the gpg key of a ppa to the apt keystore. The key will be retrieved from the ubuntu keystore. It's possible to define a different keystore.

Parameters

namevar The name of the resource is the unique number of the key to be added.

ensure With the value 'present' the given key will be listed in the key store for apt. If the value is 'absent' the key will be removed from the key store.

keyserver The name of the server to retrieve the give from. The default key server is keyserver.ubuntu.com.

Examples

ppa::key { '7CC17CD2':
}

ppa::key { '7CC17CD2':
  ensure => present,
}

ppa::key { '7CC17CD2':
  ensure => absent,
}

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.