Experiments part 21
[inetstation.git] / modules / desktop / manifests / init.pp
index cfb86df..553cd80 100644 (file)
@@ -4,8 +4,13 @@ class desktop {
                ensure => directory,
        }
 
+       package { 'xinit':
+               ensure => installed,
+       }
+
        package { 'lxde':
                ensure => installed,
+               require => Package['xinit'],
        }
 
        file { '/etc/skel/Desktop/lxde-logout.desktop':
@@ -91,7 +96,10 @@ class desktop {
 
        package { $packages_i386:
                ensure => installed,
-               require => Exec['add-architecture-i386'],
+               require => [
+                               Exec['add-architecture-i386'],
+                               Exec['aptget-update'],
+                       ],
        }
 
        exec { 'download-skype':