Puppet Class: singularity::config

Defined in:
manifests/config.pp

Summary

Private class

Overview



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
# File 'manifests/config.pp', line 3

class singularity::config {
  assert_private()

  file { 'singularity.conf':
    ensure  => 'file',
    path    => $::singularity::config_path,
    content => template($::singularity::config_template),
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
  }

  if ! empty($::singularity::namespace_users) {
    file { '/etc/subuid':
      ensure  => 'file',
      content => template($::singularity::subid_template),
      owner   => 'root',
      group   => 'root',
      mode    => '0644',
    }
    file { '/etc/subgid':
      ensure  => 'file',
      content => template($::singularity::subid_template),
      owner   => 'root',
      group   => 'root',
      mode    => '0644',
    }
  }

}