6 Commits

Author SHA1 Message Date
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