FAQ
$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/-/czt9jTFFurkJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • Iamauser at Aug 23, 2012 at 1:24 pm
    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 puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 23, '12 at 1:22p
activeAug 23, '12 at 1:24p
posts2
users1
websitepuppetlabs.com

1 user in discussion

Iamauser: 2 posts

People

Translate

site design / logo © 2022 Grokbase