[Puppet Users] execute more commands (beginner talking)

Reno
Wed, 21 Oct 2009 15:09:39 -0000

I have this:

class aptsetup {

      file { "/etc/apt/sources.list":
             owner  => root,
             group  => root,
             mode => 644,
             source => "puppet://asus-vista-box.lokku.net/files/etc/
apt/sources.list"
      }

 }

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

I''d like to execute enother command after "/usr/bin/apt-get -q -q
update" for example "touch /home/test"

In wich way you suggest to do that?