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 <d...@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-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@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