diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-04-10 10:35:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-04-10 10:35:55 -0300 |
commit | 279833df056e8bbba7af670b8a2d0aaadcc73f5f (patch) | |
tree | 41fa8cf1e692ed5274ec12ff86113b9eca766368 /manifests/laptop.pp | |
parent | 49b83148ea8fad09fe62f7d91e936b60f42d4990 (diff) | |
download | puppet-nodo-279833df056e8bbba7af670b8a2d0aaadcc73f5f.tar.gz puppet-nodo-279833df056e8bbba7af670b8a2d0aaadcc73f5f.tar.bz2 |
Adding laptop class, pam and xorg subsystems
Diffstat (limited to 'manifests/laptop.pp')
-rw-r--r-- | manifests/laptop.pp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/manifests/laptop.pp b/manifests/laptop.pp new file mode 100644 index 0000000..d51a643 --- /dev/null +++ b/manifests/laptop.pp @@ -0,0 +1,29 @@ +class nodo::laptop inherits nodo::physical { + include utils::laptop + include pam + include xorg + + # fstab + file { "/etc/fstab": + source => "puppet://$server/modules/nodo/etc/fstab/laptop", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } + + # crypttab + file { "/etc/crypttab": + source => "puppet://$server/modules/nodo/etc/crypttab/laptop", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } + + # data + file { "/var/data": + ensure => directory, + mode => 0755, + } +} |