Puppet Class: slurm::common::install::rpm

Defined in:
manifests/common/install/git.pp,
manifests/common/install/rpm.pp

Overview



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/common/install/git.pp', line 2

class slurm::common::install::rpm {

  ensure_packages($::slurm::source_dependencies)
  vcsrepo { '/usr/local/src/slurm':
    ensure   => 'latest',
    provider => 'git',
    source   => 'https://github.com/SchedMD/slurm.git',
    revision => $slurm::version,
    require  => Package[$::slurm::source_dependencies],
    notify   => Exec['configure-slurm'],
  }

  
  exec { 'configure-slurm':
    path => '/usr/bin:/bin:/usr/sbin:/sbin',
    command => $configure_command,
    cwd     => '/usr/local/src/slurm',
    refreshonly => true,
  }
}