From 6978681ba898b7cc61090d8cd93356e86ba6ae62 Mon Sep 17 00:00:00 2001
From: Monty Taylor <mordred@inaugust.com>
Date: Sun, 23 Mar 2014 06:49:23 -0700
Subject: [PATCH] Store puppetmaster reports in puppetdb

The puppet.conf file config for the master needs to actually be
configured to send the reports to the puppetdb.

Change-Id: I1116ee16acdf4217cecc59bcd264401b2b2b4709
---
 modules/openstack_project/templates/puppet.conf.erb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/openstack_project/templates/puppet.conf.erb b/modules/openstack_project/templates/puppet.conf.erb
index 70dc202100..52cb6df626 100644
--- a/modules/openstack_project/templates/puppet.conf.erb
+++ b/modules/openstack_project/templates/puppet.conf.erb
@@ -17,7 +17,9 @@ ssl_client_verify_header = SSL_CLIENT_VERIFY
 manifestdir=/opt/config/$environment/manifests
 modulepath=/opt/config/$environment/modules:/etc/puppet/modules
 manifest=$manifestdir/site.pp
-reports=store
+reports=store,puppetdb
+storeconfigs = true
+storeconfigs_backend = puppetdb
 
 [agent]
 report=true