diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-14 12:57:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-14 12:57:07 -0300 |
commit | 48f49bcc2a89cf8f8c2bb089c3f822d5cad5d9a1 (patch) | |
tree | 8f5f6e65500d4ec3dda8ca5c86f124626e6fe75d /manifests | |
parent | d032c051a3fddee1d78e1a5578e8a92ea5a5216b (diff) | |
download | puppet-nodo-48f49bcc2a89cf8f8c2bb089c3f822d5cad5d9a1.tar.gz puppet-nodo-48f49bcc2a89cf8f8c2bb089c3f822d5cad5d9a1.tar.bz2 |
Adding custom config for nodo::desktop
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 24 | ||||
-rw-r--r-- | manifests/utils.pp | 3 |
2 files changed, 25 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 152fcd1..f66edb1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -190,6 +190,30 @@ class nodo::desktop inherits nodo::physical { mode => 0644, ensure => present, } + + # data + file { "/var/data": + ensure => directory, + mode => 0755, + } + + # pam - login + file { "/etc/pam.d/login": + source => "puppet://$desktop/modules/nodo/etc/pam.d/login", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } + + # pam - gdm + file { "/etc/pam.d/gdm": + source => "puppet://$desktop/modules/nodo/etc/pam.d/gdm", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } } class nodo::vserver inherits nodo { diff --git a/manifests/utils.pp b/manifests/utils.pp index b30bb4d..b38c585 100644 --- a/manifests/utils.pp +++ b/manifests/utils.pp @@ -26,7 +26,7 @@ class utils::web { } } -# Common utilities for desktops +# Common utilities for desktop class utils::desktop { package { [ 'awesome', 'alsa-tools-gui', 'mutt', 'irssi', 'offlineimap', 'wyrd', @@ -36,4 +36,3 @@ class utils::desktop { ensure => installed, } } - |