Giter Site home page Giter Site logo

puppet-finland / puppet-freight Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 2.0 42 KB

A Puppet module for managing Freight - a tool for creating and maintaining apt repositories easily

License: BSD 2-Clause "Simplified" License

Puppet 37.26% HTML 5.61% Ruby 55.57% Dockerfile 1.56%

puppet-freight's Introduction

freight

A Puppet module for managing Freight - a tool for creating and maintaining apt repositories easily. This module can manage several freight repositories residing on the same host.

Module usage

This module no longer includes automatic webserver configuration as of version 3.0.0. So you need to ensure that you have a webserver hosting your apt repository. Here's an example based on puppet/nginx:

include ::nginx

file { '/var/www':
  ensure => 'directory',
  owner  => 'root',
  group  => 'root',
  mode   => '0755',
}

::nginx::resource::server { 'apt.example.org':
  autoindex => 'on'
  www_root  => '/var/www',
}

class { '::freight':
  document_root => '/var/www/debian',
}

::freight::config { 'foobar':
  varcache                => '/var/www/debian/foobar',
  gpg_key_id              => 'C42A86B2',
  gpg_key_email           => '[email protected]',
  gpg_key_passphrase      => 'secret',
  gpg_private_key_content => 'private-key-content',
  gpg_public_key_content  => 'public-key-content',
}

Multiple repositories can be created by adding more entries of ::freight::config.

puppet-freight's People

Contributors

mattock avatar flichtenheld avatar

Watchers

James Cloos avatar Mikko Vilpponen 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.