aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/personal.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 16:32:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 16:32:23 -0300
commit3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3 (patch)
treeb6b84c36610fd2fc1e6a8f6ac7f87b5d132b2c4d /manifests/base/personal.pp
parente55f3c60b30042a72d722f21b0c6133faaa78a43 (diff)
downloadpuppet-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.pp37
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,
+ }
+}