Can foreman replace puppetdb?

Hi! I've been away from foreman for a little while . . . reading this
blog post on Advanced Search
<http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html>
made
me think that foreman can store exported resources . . . is that the
case? If so, can foreman effectively replace puppetDB?

Thanks a lot!
Guy

No it's not the case. Exported resources have to be stored in
PuppetDB. I don't think it's impossible that Foreman could have this
at some point, but personally I see it as a huge effort with a very
small upside, especially taking into account Foreman integrates well
with PuppetDB and setting it up is really easy.

If you're going to use PuppetDB & Foreman, you probably want to use
this plugin: https://github.com/theforeman/puppetdb_foreman

··· On Wed, Jan 14, 2015 at 9:11 PM, Guy Matz wrote: > Hi! I've been away from foreman for a little while . . . reading this blog > post on Advanced Search made me think that foreman can store exported > resources . . . is that the case? If so, can foreman effectively replace > puppetDB? > > Thanks a lot! > Guy > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Daniel Lobato

@elobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30

> Hi! I've been away from foreman for a little while . . . reading this
> blog post on Advanced Search
> <http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html> made
> me think that foreman can store exported resources . . . is that the
> case? If so, can foreman effectively replace puppetDB?
>

the usage case described in the blog is similar but is not exported
resources.

the idea in the blog is simply to define search, for example, all hosts
that <filter condition> and then to execute something based on the result.
granted, the end result could be very similar to exported resources, and
you could filter based on additional properties that exported resources
cant (e.g. you can query for all hosts that belongs to domain x and their
last puppet run was successful )

Ohad

··· On Wed, Jan 14, 2015 at 10:11 PM, Guy Matz wrote:

Thanks a lot!
Guy


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.