diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 16:32:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 16:32:23 -0300 |
commit | 3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3 (patch) | |
tree | b6b84c36610fd2fc1e6a8f6ac7f87b5d132b2c4d /manifests/base/personal.pp | |
parent | e55f3c60b30042a72d722f21b0c6133faaa78a43 (diff) | |
download | puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.gz puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.bz2 |
Renaming base classes
Diffstat (limited to 'manifests/base/personal.pp')
-rw-r--r-- | manifests/base/personal.pp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/manifests/base/personal.pp b/manifests/base/personal.pp new file mode 100644 index 0000000..5aa28ad --- /dev/null +++ b/manifests/base/personal.pp @@ -0,0 +1,37 @@ +# Personal computer +class nodo::base::personal { + include nodo::physical + include nodo::utils::personal + include autossh + + class { 'nodo::subsystem::pam': } + class { 'nodo::subsystem::xorg': } + + if $::lsbdistcodename == 'squeeze' { + include nodo::subsystem::gdm + } + else { + include nodo::subsystem::gdm3 + } + + # Media folders and groups + class { [ 'nodo::subsystem::media::folders', 'nodo::subsystem::media::groups' ]: } + + # Mountpoint for encrypted home folders + file { [ '/mnt/crypt/', '/mnt/crypt/home' ]: + ensure => directory, + } + + # Misc user data + file { [ "/var/data/code", "/var/data/crypt", "/var/data/crypt/home", "/var/data/load" ]: + ensure => directory, + mode => 0755, + require => File['/var/cache/media'], + } + + # Development + file { [ "/var/cache/vagrant", "/var/cache/virtualbox" ]: + ensure => directory, + mode => 0755, + } +} |