]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
improve exec naming
authormh <mh@immerda.ch>
Tue, 10 Aug 2010 14:27:54 +0000 (16:27 +0200)
committermh <mh@immerda.ch>
Tue, 10 Aug 2010 14:27:54 +0000 (16:27 +0200)
manifests/init.pp

index d1f5cfe57977d18248dabcac5593274ec885392f..af860f7d6d17d89a7f6cc19ead89972b973cb053 100644 (file)
@@ -54,13 +54,15 @@ class apt {
 
   exec {
     # "&& sleep 1" is workaround for older(?) clients
-    "/usr/bin/apt-get update && sleep 1 #on refresh":
+    'refresh_apt':
+      command => '/usr/bin/apt-get update && sleep 1',
       refreshonly => true,
       subscribe => [ File["/etc/apt/sources.list"],
                      File["/etc/apt/preferences"], 
                      File["/etc/apt/apt.conf.d"],
                      Config_file[apt_config] ];
-      "/usr/bin/apt-get update && /usr/bin/apt-get autoclean #hourly":
+      'update_apt':
+        command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
         require => [ File["/etc/apt/sources.list"],
                      File["/etc/apt/preferences"], Config_file[apt_config] ],
         loglevel => info,