Hi,

I would need to execute a command after the execution of another and I 
didn't find anything on the web regarding this.  Here's the code:

  if $vhost_name_fact != undef {

  } else {
    zendserver::sdk::command { "vhost_add_${vhostname}_${port}":
      target             => $target,
      api_command        => 'vhostAdd',
      additional_options => $additional_options,
    }
    zendserver::sdk::command { "vhost_reload_${vhostname}_${port}":
      target             => $target,
      api_command        => 'restartPhp',
    }
  }

I would like to have the second command to always be executed once the 
first one has been executed.  How would I do that?

Thanks,

Ugo

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9d740bb9-1239-4c0f-935e-7b949b1c7ac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to