aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/gdm.pp
blob: d9c729b3d5c5c074df0fee4b4bb194b736086975 (plain)
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
class gdm {
  package { 'gdm':
    ensure => installed,
  }

  service { 'gdm':
    ensure  => running,
    require => Package['gdm'],
  }

  file { '/etc/gdm/gdm.conf':
    ensure => present,
    owner  => root,
    group  => root,
    mode   => 0644,
    notify => Service['gdm'],
    source => [ "puppet:///modules/site-nodo/etc/gdm/$domain/gdm.conf",
                "puppet:///modules/nodo/etc/gdm/gdm.conf", ]
  }

  file { '/usr/share/gdm/themes/crunchbang':
    ensure  => directory,
    recurse => true,
    purge   => true,
    force   => true,
    owner   => "root",
    group   => "root",
    # This mode will also apply to files from the source directory
    mode    => 0644,
    # Puppet will automatically set +x for directories
    source  => 'puppet:///modules/nodo/etc/gdm/themes/crunchbag',
  }

  file { '/usr/share/gdm/themes/Tuxtastic:
    ensure  => directory,
    recurse => true,
    purge   => true,
    force   => true,
    owner   => "root",
    group   => "root",
    # This mode will also apply to files from the source directory
    mode    => 0644,
    # Puppet will automatically set +x for directories
    source  => 'puppet:///modules/nodo/etc/gdm/themes/Tuxtastic',
  }

  file { '/usr/share/gdm/themes/dasUberMini:
    ensure  => directory,
    recurse => true,
    purge   => true,
    force   => true,
    owner   => "root",
    group   => "root",
    # This mode will also apply to files from the source directory
    mode    => 0644,
    # Puppet will automatically set +x for directories
    source  => 'puppet:///modules/nodo/etc/gdm/themes/dasUberMini',
  }
}