source: trunk/puppet/modules/puppet-login_themes/manifests/classes/gdm-carpani-cta.pp

Last change on this file was 766, checked in by josx@…, 11 years ago

Agregando creacion de directorio themes antes del tema

File size: 933 bytes
Line 
1class login_themes::gdm::carpani_cta {
2
3    debug ("installing gdm login theme carpani-cta")
4
5    package { [
6        "gdm"
7        ]: ensure => installed
8    }
9
10    file {
11        "/usr/share/gdm/themes":
12            ensure  => directory,
13            mode    => 644,
14            owner   => root,
15            group   => root,
16            require => Package[gdm];
17    }
18
19    file {
20        "/usr/share/gdm/themes/gdm-carpani-cta":
21            ensure  => directory,
22            mode    => 644,
23            owner   => root,
24            group   => root,
25            source  => "puppet:///login_themes/gdm-carpani-cta/",
26            recurse => "true",
27            require => Package[gdm];
28    }
29
30    file {
31        "/etc/gdm/gdm.conf-custom":
32            content => template("login_themes/gdm.conf-custom.erb"),
33            owner   => root,
34            group   => root,
35            mode    => 644,
36            require => Package["gdm"],
37    }
38}
Note: See TracBrowser for help on using the repository browser.