9 Commits

Author SHA1 Message Date
Spencer Krum
488231e444 Setup hiera lookups to do common,group,fqdn
Before we start having ansible copy smaller hiera files around, we
need to be able to split common.yaml into smaller files and continue to
use our current structure. Configure hiera to look at group and fqdn
files in addition to common.

Change-Id: I32bf69f80c748668ca218a7a326c5737ec81fa7f
2015-04-08 01:54:36 -07:00
James E. Blair
10c12fe979 Change opt/config to opt/system-config
Move the install location of the git checkout of the config repo
to /opt/system-config to make things more consistent for operators.

Actually moving this on the puppetmaster will be a manual step.

Change-Id: Id9297088ae6c76c02e35414433aae2733f9f639c
2014-10-17 12:14:35 -07:00
Jenkins
ff10d4cb1d Merge "Add apache envvars file for puppetmaster" 2014-09-12 17:56:22 +00:00
James E. Blair
e0c593268a Add apache envvars file for puppetmaster
To set the LANG env variable to utf8.

Change-Id: I8ab13568a072a4993a2263cad425b926eec562d5
2014-09-12 09:42:51 -07:00
Spencer Krum
84306bdc3c Add production environment to puppet
This creates an environment.conf for production for use
with Puppet directory environments.

Change-Id: I12655eb480ec95293edf8b3534c5b607de2980de
2014-09-11 14:24:42 -07:00
Spencer Krum
71662ba502 Formatting updates in hiera.yaml
Puppet 3 wants quotes. Puppet 2.7 doesn't care.
And I want the same quotes everywhere.

Change-Id: Ib277c8bbeede6bdc04eb68098537abf33e5a488b
2014-09-09 16:05:49 -07:00
James E. Blair
56562d83f7 Revert "Adds second hiera data directory"
This did not seem to work.

This reverts commit ed57cef9c5a65f429e07ce253668cd23ceb6c45a
2014-03-31 21:06:37 +00:00
Spencer Krum
ed57cef9c5 Adds second hiera data directory
This allows hiera data to be split into two buckets: sensitive and
non-sensitive. Sensitive data is put where it always has been. Non-
sensitive data, such as users ssh keys and lists of packages can be
put into the data directory contained within the
openstack-infra/config git repository.

This also introduces a more complex hierarchy: data is now split on
osfamily and lsbdistcondename. Operatingsystem is left for
compatibility.

Change-Id: I3b3faeab837aa5732da01e96bbe0c19aa936a58d
2014-03-28 18:42:33 -07:00
Monty Taylor
a3953c334f Add root hiera config for the puppetmaster.
Change-Id: I4e9358f083a9a1938a7080610cc5964834889593
2012-07-24 11:27:09 -05:00