I''m not currently using external nodes, but I could switch over if the
functionality I''m looking for will work in that scenario... Either
way, I would love a way to query for hosts that have a particular
class, even if it''s just an inherited class of some other class. That
would be a great way to get a definitive list of all the hosts
affected by changing something in a class where you''re not sure what
other classes include/require it. The query interface works great for
selecting hosts based on facts, I''d love to use it to select hosts
based on puppetclasses too. Other than that, Foreman looks pretty
cool so far, thanks!
-drew
On Tue, Feb 23, 2010 at 1:46 AM, Ohad Levy <ohadlevy@gmail.com>
wrote:> Hi,
> Currently Foreman does not auto assign classes to your nodes (Except if
you
> are already using an external nodes and then you can import them via a rake
> task).
> the main issue here is that I didnt think its a good idea to import all of
> the hosts classes (e.g. from storeconfig db) as a lot of the classes are
> imported via other classes.
> while if its important to you, we can probably come up with a simple task
> which will import all of the hosts classes from storeconfigs, I''m
not sure
> if you are using Foreman with external nodes (e.g. remove all of your nodes
> statements), it would make a lot of sense.
> if someone have the time to find a way to convert from a nodes statement
> into external nodes kind of structure that would be great :)
> cheers,
> Ohad
> On Mon, Feb 22, 2010 at 11:11 PM, Andrew Dickson <drew@number88.com>
wrote:
>>
>> I''ve recently set up foreman with my existing puppet server,
and I was
>> able to get all the host reporting working (I''m using
storeconfigs),
>> and once I ran:
>>
>> RAILS_ENV=production rake puppet:import:puppet_classes
>>
>> My puppet classes showed up on the settings page, however, it
doesn''t
>> seem to be associating any hosts with the classes they have applied to
>> them. when I click "hosts" under a puppetclass on the
settings page,
>> it always returns nothing, and I get the same result when I try to use
>> the query interface. The query interface seems to work fine for
>> querying by fact though.... Have I missed a step somewhere to get
>> foreman to keep track of the classes that each host has?
>>
>> thanks,
>> -drew
>>
>> --
>> 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+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.