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
|
# File 'modules/profile/manifests/analytics/refinery/job/import_wikibase_dumps_config.pp', line 30
define profile::analytics::refinery::job::import_wikibase_dumps_config(
$include_pattern,
$local_source,
$hdfs_destination,
$timer_description,
$timer_interval,
$script_path = "/usr/local/bin/${title}",
$ensure = 'present',
) {
file { $script_path:
ensure => $ensure,
content => template('profile/analytics/refinery/job/refinery-import-wikibase-dumps.sh.erb'),
mode => '0550',
owner => 'analytics',
group => 'analytics',
}
kerberos::systemd_timer { $title:
ensure => $ensure,
description => $timer_description,
command => $script_path,
interval => $timer_interval,
user => 'analytics',
require => File[$script_path],
}
}
|