aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/personal.pp
diff options
context:
space:
mode:
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,
+ }
+}