I’m not following the indirect inclusion… via where?

Is quantum not talking to the db?

From: cdearborn [mailto:notifications@github.com]
Sent: Friday, June 07, 2013 4:45 PM
To: crowbar/barclamp-quantum
Subject: Re: [barclamp-quantum] Initial SUSE support for quantum barclamp and fix database detection stuff. (#37)


In chef/cookbooks/quantum/recipes/common_install.rb:

> +sqls = search(:node, "roles:database-server#{env_filter}") || []

> +if sqls.length > 0

> +  sql = sqls[0]

> +  sql = node if sql.name == node.name

> +else

> +  sql = node

> +end

> +

> +include_recipe "database::client"

> +backend_name = Chef::Recipe::Database::Util.get_backend_name(sql)

> +

> +Chef::Log.info("Configuring Quantum to use #{backend_name} backend")

> +

> +include_recipe "#{backend_name}::client"

> +include_recipe "#{backend_name}::python-client"

> +

When I was doing the database barclamp switchover work to the quantum barclamp, I was wondering if this was needed, it did not appear to be at the time, so I omitted it. The nova compute recipe does indirectly include this file, so now I'm thinking that it is needed since this is what will install a DB client on nova compute nodes. Would you agree?

—
Reply to this email directly or view it on GitHub<https://github.com/crowbar/barclamp-quantum/pull/37/files#r4598452>.