summaryrefslogtreecommitdiffstats
path: root/puppet-infracloud
AgeCommit message (Collapse)AuthorFilesLines
2017-08-11Tune sudo settings on serverYolanda Robla Mota1-1/+15
We need to have passwordless sudo, and not require a tty. Change-Id: Iee11cade89a45b49d6b623f07d8ccb76f9e5882d Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add script to properly install puppetYolanda Robla Mota1-0/+297
This will be needed specially on jumphost, when deploying puppet from scratch. Change-Id: Ife7d3fff98826ee53edb74585b7cbfc7cad2e0a8 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add management of /root/.ssh keyYolanda Robla Mota1-0/+8
It is generally needed to have this file created, for next manifests to run properly. Change-Id: I3ca1dd05a44ecdd6bee9abcfd6ba7fa875022ed4 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add new hiera with default for baremetalYolanda Robla Mota2-86/+170
Refactor the common.yaml with the settings only for vms, and create a new common_baremetal file that will contain all settings needed for baremetal deploys, with sane defaults. Change-Id: I5ae3ed6d870086544792cb41f166246a3a153251 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Convert harcoded values to hiera onesYolanda Robla Mota2-6/+9
Settings like neutron config and virt type will be different depending on environments. Change-Id: I0945025645b40a02f9a13d0699f442d3a949ebb4 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Fix naming and ips for controller and computeYolanda Robla Mota1-8/+8
hostname needs to match manifest, and ips need to match the provided range. Change-Id: I059ed9df273f984ac032bd9ded2892e8758c6dab Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add missing dhcp_static_mask valueYolanda Robla Mota2-0/+2
Change-Id: I1ba1aeea6a9a5a97b592e484b205868811b9f4e9 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add missing bridge_name parameterYolanda Robla Mota1-0/+1
Change-Id: If233efe79fd3058c4ca4ef16abf7f66b1a9c4203 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add missing hiera vars for bifrostYolanda Robla Mota2-3/+87
Change-Id: I88a9acb221c7c33d12c8d68492551c39a8cb212c Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Stop using sudoers on all servers definedYolanda Robla Mota2-1/+4
Insteaf of that, add only on compute and controller that are going to be fully automated, but avoid running that on jumphosts, as this may mess with exiting config. Change-Id: I79f1fa05d3e6da49a7f78b2efecb791022f5b11d Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add baremetal node for puppet-infracloudYolanda Robla Mota2-0/+29
Change-Id: Ie18b25634016dcc98ec83e30c51b4c386ffd9ecc Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Change naming for bridge in CentOSYolanda Robla Mota1-1/+1
Change-Id: I7a35a1222ce7524fbf74848daec68dfd57616026 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Stop disabling selinuxYolanda Robla Mota2-16/+0
It is already disabled in origin in puppet-infracloud, and it is causing an error with duplicates now. Change-Id: Ie40232c03138f1c8a1516895828c6cfd5730f9f7 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Fix problems and add missing info to puppet-infracloud instructionsFatih Degirmenci1-5/+14
The instructions in README file will be automated later on so they are just documented for the timebeing in order to prevent others from facing issues while they try to follow the steps. Change-Id: I38fe2609da6389a1cd120075f8eea243edd28e58 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-08-11infra: Fix small doc/script issues and enable mail notificationFatih Degirmenci1-2/+2
This change - Fixes readme of puppet-infracloud - renames destroy_env.sh script - enables mail notification - disables removal of DIB images by default Change-Id: I628b26b976e38772cbbc69b737a545fe801639ba Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-08-11Disable selinux on RHEL caseYolanda Robla Mota2-0/+16
This is causing several puppet moduels to fail (for example rabbit not starting). Set that to permissive as a workaround, but with the intention of fixing the configuration and enabling selinux on next steps. Signed-Off-By: Yolanda Robla <yroblamo@redhat.com> Change-Id: I34b388792699a9563dacedf87dd6ff85e482e431
2017-08-11Add jumphost to the managed serversYolanda Robla Mota1-0/+7
So at least it gets the dns, ports, and extra config setup. Signed-off-by: Yolanda Robla <yroblamo@redhat.com> Change-Id: Iceb075b7491a9098b10a40b0a549023129739883
2017-08-11Set bridge name in hieraYolanda Robla Mota2-2/+5
It is different from debian/centos, and will be different in baremetal as well, where vlans will be used. Add the ability to manage in hiera, so it can just be edited on the yaml file directly. Change-Id: I5f5ac3adec6606ca34b3c8ad86c99d8e3aee52d1 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add initial puppet and hiera filesYolanda Robla Mota9-0/+736
Include the basic site.pp and initial modules, as long as default hieras, to manage opnfv infracloud. Change-Id: I891bc414b102257534f1d28df8299bf41c12e8f2 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2017-08-11Add directories for openstack-infra prototypingFatih Degirmenci1-0/+0
Change-Id: I890d36d0db54efcbcb9911707b72bf58416550b3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>