diff options
Diffstat (limited to 'manifests/personal.pp')
-rw-r--r-- | manifests/personal.pp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/manifests/personal.pp b/manifests/personal.pp new file mode 100644 index 0000000..b07304f --- /dev/null +++ b/manifests/personal.pp @@ -0,0 +1,43 @@ +# Personal computer +class nodo::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 + } + + # Monitoring + class { 'monitor': + type => 'personal', + use_nagios => hiera('nodo::personal::use_nagios', false), + } + + # 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, + } +} |