Added pcmanfm package.
authorAndreas Schiermeier <andreas@schiermeier.name>
Tue, 10 May 2016 01:00:38 +0000 (03:00 +0200)
committerAndreas Schiermeier <andreas@schiermeier.name>
Tue, 10 May 2016 01:00:38 +0000 (03:00 +0200)
modules/desktop/manifests/init.pp

index 53bdc79..05555bd 100644 (file)
@@ -13,6 +13,45 @@ class desktop {
                require => Package['xinit'],
        }
 
+       $dms = [
+               'lightdm*',
+               'kdm',
+               'gdm3',
+               'nodm',
+               'wdm',
+               'xdm',
+               'slim',
+       ]
+
+       package { $dms:
+               ensure => absent,
+               require => Package['lxde'],
+       }
+
+       $packages = [
+               'pcmanfm',
+               'iceweasel',
+               'iceweasel-l10n-*',
+               'gstreamer1.0-libav',
+               'gstreamer1.0-plugins-good',
+               'flashplugin-nonfree',
+               'chromium',
+               'chromium-l10n',
+               'libreoffice',
+               'libreoffice-help-*',
+               'libreoffice-l10n-*',
+               'ttf-mscorefonts-installer',
+               'ttf-liberation',
+               'fonts-crosextra-carlito',
+               'fonts-crosextra-caladea',
+                'florence',
+
+       ]
+  
+       package { $packages:
+               ensure => installed,
+       }
+
        file { '/etc/skel/Desktop/libreoffice-startcenter.desktop':
                source => '/usr/share/applications/libreoffice-startcenter.desktop',
                require => [
@@ -93,44 +132,6 @@ class desktop {
                onlyif => '/bin/grep -vq "^Name.*=Filemanager" /etc/skel/Desktop/pcmanfm.desktop',
        }
 
-       $dms = [
-               'lightdm*',
-               'kdm',
-               'gdm3',
-               'nodm',
-               'wdm',
-               'xdm',
-               'slim',
-       ]
-
-       package { $dms:
-               ensure => absent,
-               require => Package['lxde'],
-       }
-
-       $packages = [
-               'iceweasel',
-               'iceweasel-l10n-*',
-               'gstreamer1.0-libav',
-               'gstreamer1.0-plugins-good',
-               'flashplugin-nonfree',
-               'chromium',
-               'chromium-l10n',
-               'libreoffice',
-               'libreoffice-help-*',
-               'libreoffice-l10n-*',
-               'ttf-mscorefonts-installer',
-               'ttf-liberation',
-               'fonts-crosextra-carlito',
-               'fonts-crosextra-caladea',
-                'florence',
-
-       ]
-  
-       package { $packages:
-               ensure => installed,
-       }
-
        file { '/etc/skel/Desktop/iceweasel.desktop':
                source => '/usr/share/applications/iceweasel.desktop',
                replace => false,