Puppet Class: dumps::web::html

Defined in:
modules/dumps/manifests/web/html.pp

Overview

Parameters:

  • datadir (Any) (defaults to: undef)
  • xmldumpsdir (Any) (defaults to: undef)
  • miscdatasetsdir (Any) (defaults to: undef)
  • webuser (Any) (defaults to: undef)
  • webgroup (Any) (defaults to: undef)


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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'modules/dumps/manifests/web/html.pp', line 1

class dumps::web::html(
    $datadir = undef,
    $xmldumpsdir = undef,
    $miscdatasetsdir = undef,
    $webuser = undef,
    $webgroup = undef,
) {
    class {'dumps::web::dirs':
        datadir         => $datadir,
        xmldumpsdir     => $xmldumpsdir,
        miscdatasetsdir => $miscdatasetsdir,
        user            => $webuser,
        group           => $webgroup,
    }

    file { "${xmldumpsdir}/dumps.css":
        ensure => 'present',
        path   => "${xmldumpsdir}/dumps.css",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/dumps.css',
    }

    file { "${miscdatasetsdir}/index.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/index.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/other_index.html',
    }

    file { "${miscdatasetsdir}/pagecounts-ez/index.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/pagecounts-ez/index.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/pagecounts-ez_index.html',
    }

    file { "${miscdatasetsdir}/analytics/index.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/analytics/index.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/analytics_index.html',
    }

    file { "${miscdatasetsdir}/pageviews/readme.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/pageviews/readme.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/pageviews_readme.html',
    }

    file { "${miscdatasetsdir}/unique_devices/readme.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/unique_devices/readme.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/unique_devices_readme.html',
    }

    file { "${miscdatasetsdir}/mediacounts/readme.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/mediacounts/readme.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/mediacounts_readme.html',
    }

    file { "${miscdatasetsdir}/clickstream/readme.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/clickstream/readme.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/clickstream_readme.html',
    }


    file { "${miscdatasetsdir}/poty/index.html":
        ensure => 'present',
        path   => "${miscdatasetsdir}/poty/index.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/poty_index.html',
    }

    file { "${xmldumpsdir}/archive/index.html":
        ensure => 'present',
        path   => "${xmldumpsdir}/archive/index.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/archive_index.html',
    }

    file { "${xmldumpsdir}/index.html":
        ensure => 'present',
        path   => "${xmldumpsdir}/index.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/public_index.html',
    }

    file { "${xmldumpsdir}/mirrors.html":
        ensure => 'present',
        path   => "${xmldumpsdir}/mirrors.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/public_mirrors.html',
    }

    file { "${xmldumpsdir}/legal.html":
        ensure => 'present',
        path   => "${xmldumpsdir}/legal.html",
        mode   => '0644',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/dumps/web/html/legal.html',
    }
}