If you're happy with just knowing which machines will be told to install
that class/module, this information is available in your existing node
definitions and/or external node classifier too.

Note this is different from knowing which machines have actually had that
class/module applied, as some machines may not have contacted the master to
retrieve configuration yet.

On Wed, Feb 1, 2012 at 4:55 PM, Gary Larizza <g...@puppetlabs.com> wrote:

> Sateesh,
>
> You can use MCollective to get this bit of information if you do something
> like an mco find and limit it based on the class that's been applied to the
> machine with the -C argument.  That should return a list of nodes who have
> that class applied to it.  If you had a function in Puppet that returned
> this information, you could iterate upon it.
>
> -Gary
>
>
> On Wed, Feb 1, 2012 at 12:01 AM, sateesh <bbalasate...@gmail.com> wrote:
>
>> Hi,
>>
>> Can we get the list of IPs from server where the specified module is
>> installed. There is a search functionality in the Chef to do this. Is
>> there any way in puppet?
>>
>> Thanks in advance,
>> Sateesh B.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to puppet-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>>
>
>
> --
>
> Gary Larizza
> Professional Services Engineer
> Puppet Labs
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
Nigel Kersten
Product Manager, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to