]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Moving some console apps to nodo::utils::interface::console
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 17 Aug 2013 02:47:29 +0000 (23:47 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 17 Aug 2013 02:47:29 +0000 (23:47 -0300)
manifests/utils/interface.pp
manifests/utils/interface/console.pp [new file with mode: 0644]

index 1b49df5f65fcfd7d23445bc6559d0fc3aa657c4f..52b7cea4f569a9c771d0c7a473a47f8cceaf8d51 100644 (file)
@@ -1,10 +1,9 @@
-class nodo::utils::interface {
+class nodo::utils::interface inherits nodo::utils::interface::console {
   # Interface
-  package { [ 'awesome',       'eterm',            'weather-util',      'gnome-terminal', 'conky',
-              'xterm',         'tmux',             'xscreensaver',      'thunar',
-              'mc',            'gtk-theme-switch', 'gtk-smooth-themes', 'rxvt',           'lxappearance',
-              'xtitle',        'xclip',            'pcmanfm',           'awesome-extra',  'numlockx',
-              'x11-apps' ]:
+  package { [ 'awesome',          'eterm',             'weather-util', 'gnome-terminal', 'conky',
+              'xterm',            'xscreensaver',      'thunar',       'x11-apps',
+              'gtk-theme-switch', 'gtk-smooth-themes', 'rxvt',         'lxappearance',
+              'xtitle',           'xclip',             'pcmanfm',      'awesome-extra',  'numlockx' ]:
     ensure => installed,
   }
 
diff --git a/manifests/utils/interface/console.pp b/manifests/utils/interface/console.pp
new file mode 100644 (file)
index 0000000..f5b0cd8
--- /dev/null
@@ -0,0 +1,5 @@
+class nodo::utils::interface::console {
+  package { [ 'mc', 'tmux' ]:
+    ensure => installed,
+  }
+}