Something like the following should work:

   exec { subscribe-echo:
                command     => "/usr/bin/apt-get -q -q update && touch 
/home/test ",
                logoutput   => false,
                refreshonly => true,
                subscribe   => file["/etc/apt/sources.list"]
        }

- Jeff

On 10/21/2009 10:09 AM, Reno wrote:
>    exec { subscribe-echo:
>                 command     =>  "/usr/bin/apt-get -q -q update",
>                 logoutput   =>  false,
>                 refreshonly =>  true,
>                 subscribe   =>  file["/etc/apt/sources.list"]
>         }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to