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,