diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-04-10 19:45:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-04-10 19:45:11 -0300 |
commit | 96d5aaf738b89ac6e2c6d8d94893683df99f18f0 (patch) | |
tree | 0642cebf2e01614467f45dfa7de68c7acdd1e30b | |
parent | 26b1d0cc2d256c393eec4735246617a77801514d (diff) | |
download | puppet-nodo-96d5aaf738b89ac6e2c6d8d94893683df99f18f0.tar.gz puppet-nodo-96d5aaf738b89ac6e2c6d8d94893683df99f18f0.tar.bz2 |
Adding nodo::personal
-rw-r--r-- | manifests/desktop.pp | 10 | ||||
-rw-r--r-- | manifests/init.pp | 1 | ||||
-rw-r--r-- | manifests/laptop.pp | 10 | ||||
-rw-r--r-- | manifests/personal.pp | 12 | ||||
-rw-r--r-- | manifests/subsystems/utils.pp | 8 |
5 files changed, 21 insertions, 20 deletions
diff --git a/manifests/desktop.pp b/manifests/desktop.pp index 39ce4f0..25fc874 100644 --- a/manifests/desktop.pp +++ b/manifests/desktop.pp @@ -1,7 +1,5 @@ -class nodo::desktop inherits nodo::physical { +class nodo::desktop inherits nodo::personal { include utils::desktop - include pam - include xorg # fstab file { "/etc/fstab": @@ -20,10 +18,4 @@ class nodo::desktop inherits nodo::physical { mode => 0644, ensure => present, } - - # data - file { "/var/data": - ensure => directory, - mode => 0755, - } } diff --git a/manifests/init.pp b/manifests/init.pp index 518d86a..1f72ac1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -22,6 +22,7 @@ import "subsystems/xorg.pp" import "nodo.pp" import "physical.pp" import "server.pp" +import "personal.pp" import "desktop.pp" import "vserver.pp" import "web.pp" diff --git a/manifests/laptop.pp b/manifests/laptop.pp index d51a643..1591aa7 100644 --- a/manifests/laptop.pp +++ b/manifests/laptop.pp @@ -1,7 +1,5 @@ -class nodo::laptop inherits nodo::physical { +class nodo::laptop inherits nodo::personal { include utils::laptop - include pam - include xorg # fstab file { "/etc/fstab": @@ -20,10 +18,4 @@ class nodo::laptop inherits nodo::physical { mode => 0644, ensure => present, } - - # data - file { "/var/data": - ensure => directory, - mode => 0755, - } } diff --git a/manifests/personal.pp b/manifests/personal.pp new file mode 100644 index 0000000..9b5bcfc --- /dev/null +++ b/manifests/personal.pp @@ -0,0 +1,12 @@ +# personal computer +class nodo::personal inherits nodo::physical { + include utils::personal + include pam + include xorg + + # misc user data + file { "/var/data": + ensure => directory, + mode => 0755, + } +} diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index cedfa32..7658eda 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -26,8 +26,8 @@ class utils::web { } } -# Common utilities for desktop -class utils::desktop { +# Common utilities for personal +class utils::personal { package { [ 'awesome', 'alsa-tools-gui', 'mutt', 'irssi', 'offlineimap', 'wyrd', 'mp3blaster', 'iceweasel', 'eterm', @@ -82,3 +82,7 @@ class utils::laptop { ensure => installed, } } + +# Common utilities for desktop +class utils::desktop { +} |