10 Commits

Author SHA1 Message Date
Clark Boylan
0441e7c7f0 Pass in a ref for the project_config repo
When running ansible we need to pass a specific version of
project-config through to puppet from ansible. Do this via the
project_config_ref fact that the puppet role in ansible understands.

Depends-On: Id99c3c2c20764ed4ba4259bd53f8067289374403
Change-Id: I88995c81c13080d913bac239a7635619cdc34441
2015-03-11 13:14:49 -04:00
Monty Taylor
75c068f767 Put playbooks in a directory
Listing each of them individually in the puppetmaster.pp file is just
plain crazypants.

Change-Id: Ice621be7d62ec8ff5bc680cf24c237c38f8f30e5
2014-11-28 11:13:41 -05:00
Monty Taylor
6db6ba3724 Run puppet even if git servers fail
The current set of runs make the fleet depend on all git changes
working. The only thing we actually care about is that gerrit doesn't
get updated if git fails.

Change-Id: Id488e14c7dbaddfbffece7b1d8ef65f06b3688d8
2014-10-21 10:46:22 -05:00
Monty Taylor
b4b5724a0b Add AFS
I don't really think this needs any further explanation.

Change-Id: I41378bd320c6c6fad2c981d5cc773486af075c41
2014-10-20 15:13:14 -05:00
Jenkins
46c547cddd Merge "Quote hostname in ansible clean workspaces command" 2014-09-24 23:27:29 +00:00
James E. Blair
141c9bfcf9 Quote hostname in ansible clean workspaces command
Change-Id: Ic3aea9faae1aa83033b172cb21db9284fbb2bf33
2014-09-19 13:39:11 -07:00
Jeremy Stanley
d6b8d72320 Cease using ci-puppetmaster.openstack.org
Now that the migration to puppetmaster.openstack.org is complete,
remove duplicate references to ci-puppetmaster.openstack.org and
also take out the temporary Puppet v2 vs v3 compatibility code used
to choose between them.

Change-Id: I32d48e844ab1872391f9f2a4e233804b7a29feb5
2014-09-15 20:48:31 +00:00
Clark Boylan
07d8b0ff24 Make ansible speak to appropriate puppetmaster
With split puppet master infrastructure ansible needs to be told which
puppetmaster to talk to. Do this by making puppetmaster a required
argument to the puppet ansible playbook.

Since we can't rely on the cert listing while this is happening also add
puppet master specific host list files which can be used to specify
which hosts talk to which puppetmaster via the new ansible playbook
feature.

Change-Id: I412c2bd6cb390d00d1b9d0e4630e75776edabbb9
2014-09-10 16:09:06 -07:00
Monty Taylor
92b29acd0d Add playbook for cleaning workspaces
Sometimes we need to clean the workspaces. While we have a command
documented, go ahead and make a playbook for it.

Change-Id: I1887dec24563811a71157c000b2d8ae9b7850d6a
2014-07-04 10:01:14 -07:00
Monty Taylor
034f37c32a Use ansible instead of direct ssh calls
Instead of a shell script looping over ssh calls, use a simple
ansible playbook. The benefit this gets is that we can then also
script ad-hoc admin tasks either via playbooks or on the command
line. We can also then get rid of the almost entirely unused
salt infrastructure.

Change-Id: I53112bd1f61d94c0521a32016c8a47c8cf9e50f7
2014-07-04 10:01:08 -07:00