3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'modules/profile/manifests/toolforge/grid/base.pp', line 3
class profile::toolforge::grid::base (
Stdlib::Unixpath $project_path = lookup('profile::toolforge::grid::base::project_path', {default_value => '/data/project'}),
) {
exec { 'ensure-grid-is-on-NFS':
command => '/bin/false',
unless => "/usr/bin/timeout -k 5s 60s /usr/bin/test -e ${project_path}/herald",
}
file { '/shared':
ensure => link,
target => "${project_path}/.shared",
require => Exec['ensure-grid-is-on-NFS'],
}
# Link to currently active proxy
file { '/etc/active-proxy':
ensure => absent,
}
class { 'profile::prometheus::node_local_crontabs': }
}
|