Commit Graph

11 Commits

Author SHA1 Message Date
Spencer Krum
1d540a2ecb Add directory resources to puppetdb module
I think that the puppetdb module expects the package to do this work,
and that's why it doesn't do this for us. There may also be an issue
with the puppetdb module setting up a config file under /etc and the
puppetdb application looking for a config file under /opt/puppetlabs

Change-Id: Ide2b3a5841ac07fd7e154e8d26ce0b036f734a41
2016-05-01 12:59:41 -07:00
Paul Belanger
20e5d5b58d Add puppetdb.o.o trusty support
Changes include changing upstream git clone and pinning to the version
we run in production.  Also new apache 2.4 syntax.

Change-Id: I3a214a42d3c49a1ea36fe84d21a275d736dfb889
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-04-29 12:50:47 -07:00
Jenkins
af4435ef99 Merge "Decouple openstack_project::server from puppetdb class" 2016-03-10 15:29:03 +00:00
Spencer Krum
2f523826af Puppetdb keeps ooming, give it more ram
Java loves ram

Co-Authored-By: Bryan Jen <bryan.jen@gmail.com>
Change-Id: I45bb391e7d7222780c2d579a5b5a33885eb45333
2016-01-26 16:33:50 -08:00
Ricardo Carrillo Cruz
f8c519e8f9 Decouple openstack_project::server from puppetdb class
Story: 2000172
Spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/server_base_template_refactor.html

Change-Id: I3e8e97fab635f0ea5ac54636c7cb4d44a426c29e
2015-09-02 09:41:50 +00:00
Spencer Krum
3f3d85a3b0 Fully qualify puppetdb classes
Puppet can become confused if there are classes of similar names
at different levels. In this case 'puppetdb' is available from the
puppetdb module and is available from openstack_project::puppetdb.

Putting the extra :: in front explicitly grabs it from top scope
so we don't have any issues.

Change-Id: Iaec56b82004c972f5771b6039675db5c2d725f91
2015-03-30 21:08:11 -07:00
Spencer Krum
1216c7db20 Refactor o_p::base into o_p::template
From spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/server_base_template_refactor.html

This flattens openstack_project::base into o_p::template. It does
not modify o_p::server. It also adds some delimiting sections as
comments, and refactors some if/case statements where it makes sense.

Change-Id: I95a7aa168c16f10c63723ead28504038a9845ce2
Story: 2000172
2015-03-24 10:46:22 -07:00
Spencer Krum
101e58991c Further changes to bring puppetboard online
Use inherits keyword to bring puppetboard::params into scope
Use 2>&1 in install_modules to silence warnings
Set puppetdb class to open port 80 when puppetboard is used
Remove inherits from params check from puppet lint

Change-Id: I75fc35542e9f2641bcab613d7e1aef83d9300217
2014-03-22 12:54:38 -07:00
Spencer Krum
5740ed3118 Add PuppetBoard to openstack infra
This places the puppet web dashboard puppetboard from
https://github.com/nedap/puppetboard onto the puppetdb server.

This enables anyone to see the output of puppet runs, which nodes
are failing and which nodes have not checked in over time. We can
also quickly and interactively query the facts database.

This also modifies install_modules.sh to support a list of modules
that will be installed without dependency resolution.

Change-Id: I09d09410dd8fa71759ce6b2f9c7f34f78eefe204
2014-03-20 00:50:54 -07:00
Spencer Krum
608ea9145e Set puppetdb server to listen on all interfaces
This sets the puppetdb server to listen on all interfaces over
both ipv4 and ipv6. I have left a comment in the code for future
travelers wondering if '0.0.0.0' will open up ipv6 addresses as
well.

Change-Id: I2396c721afdf956085b46d8633a236aaab46fa94
2014-02-24 10:20:18 -08:00
Spencer Krum
04b114ba82 Add puppetdb to a new puppetdb host
This brings in the puppetdb module via install_modules.sh and
creates a new class, openstack_project::puppetdb. It was modeled
on openstack_project::puppetmaster. Note that this will not enable
puppetdb to participate in the Puppet ecosystem yet. An additional
class will have to be added to the master:

  class { 'puppetdb::master::config':
    puppetdb_server => 'puppetdb',
  }

I will leave this out of this change so we can bring up puppetdb in
stages.

This paves the way for puppetboard to be brought online.

Change-Id: I8194372bd31e08f12a815fd04dcdf338565ed911
2014-02-15 16:14:33 -08:00