On Sun, Apr 28, 2013 at 04:02:16AM -0700, Lukas Loesche wrote:
>
> I changed my code a bit so it won't update all systems at once but instead
> work with chunks so that the app stays available during the deployment and
> am now using the following in my process definition:
>
> iterator :on => '$f:systems', :to_var => 'chunk' do
> citerator :on => '$v:chunk', :to => 'system' do
> deploy_package_on_server
> end
> end
>
> How would I write this using the Radial DSL? I can't seem to find
> documentation on that but maybe I'm looking in the wrong places.
Hello,
sorry, I haven't had no time to write any real radial documentation.
```
iterator :on => '$f:systems', :to_var => 'chunk' do
citerator :on => '$v:chunk', :to => 'system' do
deploy_package_on_server
end
end
```
becomes
```
iterator on: '$f:systems', to_var: 'chunk'
citerator on: '$v:chunk', to: 'system'
deploy_package_on_server
```
or
```
iterator on: '$f:systems', to_var: chunk
citerator on: '$v:chunk', to: system
deploy_package_on_server
```
Best regards,
--
John Mettraux - http://lambda.io/jmettraux
--
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.