Removed unwanted notifies.
authorAndreas Schiermeier <andreas@schiermeier.name>
Sun, 10 Jul 2016 15:24:27 +0000 (17:24 +0200)
committerAndreas Schiermeier <andreas@schiermeier.name>
Sun, 10 Jul 2016 15:24:27 +0000 (17:24 +0200)
modules/desktop/manifests/init.pp

index f254994..87aed15 100644 (file)
@@ -79,11 +79,9 @@ class desktop {
                        Package['lxde'],
                        File['/etc/skel/Desktop'],
                ],
-               notify => Exec['fix-desktop-leafpad'],
        }
 
        exec { 'fix-desktop-leafpad':
-               refreshonly => true,
                command => '/bin/sed -i "/^Name/ s/=.*/=Notes/;" /etc/skel/Desktop/leafpad.desktop',
                unless => '/bin/grep -q "^Name=Notes" /etc/skel/Desktop/leafpad.desktop',
        }
@@ -95,11 +93,9 @@ class desktop {
                        Package['lxde'],
                        File['/etc/skel/Desktop'],
                ],
-               notify => Exec['fix-desktop-galculator'],
        }
 
        exec { 'fix-desktop-galculator':
-               refreshonly => true,
                command => '/bin/sed -i "/^Name/ s/=.*/=Calculator/;" /etc/skel/Desktop/galculator.desktop',
                unless => '/bin/grep -q "^Name.*=Calculator" /etc/skel/Desktop/galculator.desktop',
        }
@@ -119,11 +115,9 @@ class desktop {
                        Package['florence'],
                        File['/etc/skel/Desktop'],
                ],
-               notify => Exec['fix-desktop-florence'],
        }
 
        exec { 'fix-desktop-florence':
-               refreshonly => true,
                command => '/bin/sed -i "/^Name/ s/=.*/=Keyboard/;" /etc/skel/Desktop/florence.desktop',
                unless => '/bin/grep -q "^Name.*=Keyboard" /etc/skel/Desktop/florence.desktop',
        }
@@ -135,11 +129,9 @@ class desktop {
                        Package['pcmanfm'],
                        File['/etc/skel/Desktop'],
                ],
-               notify => Exec['fix-desktop-pcmanfm'],
        }
 
        exec { 'fix-desktop-pcmanfm':
-               refreshonly => true,
                command => '/bin/sed -i "/^Name/ s/=.*/=Filemanager/;" /etc/skel/Desktop/pcmanfm.desktop',
                unless => '/bin/grep -q "^Name.*=Filemanager" /etc/skel/Desktop/pcmanfm.desktop',
        }
@@ -151,11 +143,9 @@ class desktop {
                        Package['iceweasel'],
                        File['/etc/skel/Desktop'],
                ],
-               notify => Exec['fix-desktop-iceweasel'],
        }
 
        exec { 'fix-desktop-iceweasel':
-               refreshonly => true,
                command => '/bin/sed -i "/^Name/ s/=.*/=Webbrowser/;" /etc/skel/Desktop/iceweasel.desktop',
                unless => '/bin/grep -q "^Name.*=Webbrowser" /etc/skel/Desktop/iceweasel.desktop',
        }