blob: 21a1836218d25bb335a79fb8a0ea93463e10c72f (
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
|
class reprepro {
package {
"reprepro": ensure => 'installed';
}
user { "reprepro":
ensure => "present",
home => "$basedir",
gid => "reprepro",
password => "*",
comment => "reprepro sandbox",
require => Group["reprepro"],
}
if !defined(Group["reprepro"]) {
group { "reprepro":
ensure => present,
}
}
file { '/usr/local/bin/reprepro-export-key':
ensure => present,
source => "puppet:///modules/reprepro/reprepro-export-key.sh",
owner => root,
group => root,
mode => '0755',
}
}
|