Fix APT sources path
[cacert-puppet.git] / sitemodules / profiles / manifests / sniproxy.pp
1 # Class: profiles::sniproxy
2 # =========================
3 #
4 # This class takes care if setting up SNIProxy.
5 #
6 # Parameters
7 # ----------
8 #
9 # -
10 #
11 # Examples
12 # --------
13 #
14 # @example
15 # class roles::myhost {
16 # include profiles::sniproxy
17 # }
18 #
19 # Authors
20 # -------
21 #
22 # Jan Dittberner <jandd@cacert.org>
23 #
24 # Copyright
25 # ---------
26 #
27 # Copyright 2017 Jan Dittberner
28 #
29 class profiles::sniproxy {
30 file { '/etc/apt/sources.list.d/debian-testing.list':
31 ensure => file,
32 owner => 'root',
33 group => 'root',
34 mode => '0644',
35 source => 'puppet:///modules/profiles/apt_sources_debian_testing.list',
36 }
37
38 file { '/etc/apt/preferences.d/sniproxy':
39 ensure => file,
40 owner => 'root',
41 group => 'root',
42 mode => '0644',
43 source => 'puppet:///modules/profiles/sniproxy/sniproxy_apt_preferences',
44 }
45
46 package { 'sniproxy':
47 ensure => present,
48 }
49 }