aboutsummaryrefslogtreecommitdiff
path: root/manifests/role
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 13:29:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 13:29:22 -0300
commit4d249d029f1f354e66140a0d6a9ee2221845ace0 (patch)
tree87e8f945c597236e541af5a1a25ccd8925701bf2 /manifests/role
parentfdb2c69d1ca8c019bb655d88468340a7fd5c1f34 (diff)
downloadpuppet-nodo-4d249d029f1f354e66140a0d6a9ee2221845ace0.tar.gz
puppet-nodo-4d249d029f1f354e66140a0d6a9ee2221845ace0.tar.bz2
Personal is a base class
Diffstat (limited to 'manifests/role')
-rw-r--r--manifests/role/personal.pp43
1 files changed, 0 insertions, 43 deletions
diff --git a/manifests/role/personal.pp b/manifests/role/personal.pp
deleted file mode 100644
index f7afdc0..0000000
--- a/manifests/role/personal.pp
+++ /dev/null
@@ -1,43 +0,0 @@
-# Personal computer
-class nodo::role::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,
- }
-}