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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
# 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}/pageview_complete/readme.html":
ensure => 'present',
path => "${miscdatasetsdir}/pageview_complete/readme.html",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/pageview-complete_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}/mediawiki_history/readme.html":
ensure => 'present',
path => "${miscdatasetsdir}/mediawiki_history/readme.html",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/mediawiki_history_readme.html',
}
file { "${miscdatasetsdir}/geoeditors/readme.html":
ensure => 'present',
path => "${miscdatasetsdir}/geoeditors/readme.html",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/geoeditors_readme.html',
}
file { "${miscdatasetsdir}/commons_impact_metrics/readme.html":
ensure => 'present',
path => "${miscdatasetsdir}/commons_impact_metrics/readme.html",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/commons_readme.html',
}
file { "${miscdatasetsdir}/wikibase/commonswiki/README_commonsrdfdumps.txt":
ensure => 'present',
path => "${miscdatasetsdir}/wikibase/commonswiki/README_commonsrdfdumps.txt",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/README_commonsrdfdumps.txt',
}
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 { "${miscdatasetsdir}/enterprise_html/index.html":
ensure => 'present',
path => "${miscdatasetsdir}/enterprise_html/index.html",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/enterprise_html_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',
}
file { "${xmldumpsdir}/dvd.html":
ensure => 'present',
path => "${xmldumpsdir}/dvd.html",
mode => '0644',
owner => 'root',
group => 'root',
source => 'puppet:///modules/dumps/web/html/dvd.html',
}
}
|