[Puppet Users] Re: execute more commands (beginner talking)

Jeff Adams
Wed, 21 Oct 2009 15:24:40 -0000

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"]