Never mind. Just figured that out myself.
No need for the square brackets [....].
On Thursday, August 23, 2012 3:22:44 PM UTC+2, iamauser wrote:
>
>
> $compute_nodes = delete([range("100.0.0.1","100.0.0.10")],$get_my_ip)
> doesn't
> delete $get_my_ip ...
>
> Is there something wrong in this syntax ?
>
> $get_my_ip is a user defined parser function to resolve the ip address
> from a hostname and it prints out the right address (100.0.0.1).
>
> Thanks for any help.
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/iz_6_T3b7oEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.