summaryrefslogtreecommitdiff
path: root/README
blob: 3e5d5d5afa550921d04a4e6609712ef8772dc124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Reprepro module for Puppet
==========================

This module allows you to create a reprepro install easily. It can
configure cron or a inotify daemon to process the incoming queue and
takes care of configuration, user creation and so on.

Upgrading from previous versions
================================

Older version were using a single monolithic class with global
variables. We are now using a parametrized class instead, so you need
to port your manifests.

Instead of:

  $reprepro_origin = 'example.com'
  include reprepro

... you should use:

  class { 'reprepro': origin => 'example.com' }

Parameters
==========

manage_distributions_conf, manage_incoming_conf
-----------------------------------------------

If true, the content of -respectively- the conf/distributions and
conf/incoming files is managed by this module. Else, only the
existence, ownership and permissions are.

Default: true.

basedir_mode
------------

This module manages the reprepro base directory and sets its
permissions to `basedir_mode`.

Default: 0771

incoming_mode
-------------

This module manages the reprepro incoming directory and sets its
permissions to `incoming_mode`.

Default: 1777