GithubHelp home page GithubHelp logo

kiddivouchers / puppet-apt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ctrlaltdel/puppet-apt

1.0 15.0 0.0 147 KB

apt configuration puppet module

License: GNU General Public License v3.0

Puppet 97.66% Ruby 2.34%

puppet-apt's Introduction

Apt module for Puppet

Manages apt configuration under Debian or Ubuntu.

This module is provided by Camptocamp

Classes

  • apt
  • apt::backports
  • apt::clean
  • apt::params
  • apt::unattended-upgrade
  • apt::unattended-upgrade::automatic

apt::clean

Variables

  • $apt_clean_minutes: cronjob minutes - default uses fqdn_rand()
  • $apt_clean_hours : cronjob hours - default to 0
  • $apt_clean_mday : cronjob monthday - default uses fqdn_rand()

Definitions

  • apt::conf
  • apt::key
  • apt::ppa
  • apt::preferences
  • apt::sources_list

apt::conf

apt::conf{'99unattended-upgrade':
  ensure  => present,
  content => "APT::Periodic::Unattended-Upgrade \"1\";\n",
} 

apt::key

apt::key {"A37E4CF5":
  source  => "http://dev.camptocamp.com/packages/debian/pub.key",
}

apt::key {"997D3880":
  keyserver => "keyserver.ubuntu.com",
}

apt::ppa

apt::ppa {'chris-lea':
  ensure => present,
  key    => 'C7917B12',
  ppa    => 'node.js'
}

apt::preferences

apt::preferences {"${lsbdistcodename}-backports":
  ensure   => present,
  package  => '*',
  pin      => "release a=${lsbdistcodename}-backports",
  priority => 400,
}

apt::sources_list

apt::sources_list {"camptocamp":
  ensure  => present,
  content => 'deb http://dev.camptocamp.com/packages/ etch puppet',
}

Contributing

Please report bugs and feature request using GitHub issue tracker.

For pull requests, it is very much appreciated to check your Puppet manifest with puppet-lint to follow the recommended Puppet style guidelines from the Puppet Labs style guide.

License

Copyright (c) 2012 mailto:[email protected] All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

puppet-apt's People

Contributors

mbornoz avatar francois-c2c avatar raphink avatar ckaenzig avatar saz avatar fredj avatar cs278 avatar lotyrin avatar hakamadare avatar

Watchers

 avatar  avatar  avatar Dean Gray avatar James Cloos avatar  avatar Benjamin Ugbene avatar Daniel Skora avatar Steven John Dawson avatar Piotr Suwik avatar Mark Maynereid avatar  avatar  avatar  avatar  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.