summaryrefslogtreecommitdiffstats
path: root/prototypes/puppet-infracloud
AgeCommit message (Collapse)AuthorFilesLines
2017-03-15prototypes: fix yamllint issuesJessica Wagantall3-4/+7
Linting puppet-infracloud files Change-Id: I37ccf9537a8d56e8209c6dbf17a62901d1cc441c Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-01-17Removing SELINUX class from server manifestRicardo Noriega1-7/+0
Duplicated in controller.pp Change-Id: I4817e23cfc1ff3862fc4fe9bc69b8e90c28073cc Signed-off-by: Ricardo Noriega <rnoriega@redhat.com> Co-authored-by: Yolanda Robla <yroblamo@redhat.com>
2016-12-27Add dependency on ::opnfv::serverYolanda Robla Mota1-5/+8
Manifests give several failures on first run, if ::opnfv::server class is not applied first. Change-Id: Iaddc9f5b81f134c15d051417a93c1d687ad035c4 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-12-21Merge "Fix typo in mac address"Aric Gardner1-1/+1
2016-11-11Merge "Add missing step on the baremetal documentation"Aric Gardner1-0/+1
2016-11-10Fix typo in mac addressYolanda Robla Mota1-1/+1
Change-Id: I3feb14a2c055563392bf70836b8e1ad46e3ae24e Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-11-10Fix bug in setting udp portsYolanda Robla Mota1-1/+1
There was a typo that prevented to configure udp ports properly, causing dhcp boot to fail. Change-Id: Ib853a9b9a21da113bda12b5cc1f33b3819442139 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-11-08Add missing step on the baremetal documentationYolanda Robla Mota1-0/+1
Change-Id: Ib9ef5d342f1efe624464df249c950eb7807322e1 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-20Merge "Add documentation for deploying on baremetal"Fatih Degirmenci1-0/+57
2016-10-18Add documentation for deploying on baremetalYolanda Robla Mota1-0/+57
Change-Id: I9685b733ae2e3e732c78e78381778c944eace90c Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-14Disable selinux for RHELYolanda Robla Mota1-0/+8
It is causing some unexpected permission errors if that is enabled. Change-Id: I96c3131a55a1b7c83a655738938645f537ab48f6 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-14Fix macs in inventoryYolanda Robla Mota1-0/+2
Change-Id: I834155dbd3451b06c2b45299bc64f76992b8e1b2 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>y
2016-10-14Add console password to imagesYolanda Robla Mota2-0/+2
It is useful to have a user/pass to login from console. Change-Id: I10ca00e80c07f3506710dc3133baf8012f7856ae Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-14Fix network interface on vmYolanda Robla Mota1-1/+1
When spinning on a vm, interface is normally eth1, not eno1. Change-Id: I2be7a252b06f155908d207817a1c5302bd40677e Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-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>
2016-10-07Add 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>
2016-10-07Add 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>
2016-10-06Add 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>
2016-10-05Convert 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>
2016-10-04Fix 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>
2016-10-03Merge "Add missing bridge_name parameter"Fatih Degirmenci1-0/+1
2016-10-03Add missing dhcp_static_mask valueYolanda Robla Mota2-0/+2
Change-Id: I1ba1aeea6a9a5a97b592e484b205868811b9f4e9 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-03Add missing bridge_name parameterYolanda Robla Mota1-0/+1
Change-Id: If233efe79fd3058c4ca4ef16abf7f66b1a9c4203 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-10-03Add missing hiera vars for bifrostYolanda Robla Mota2-3/+87
Change-Id: I88a9acb221c7c33d12c8d68492551c39a8cb212c Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-09-20Stop 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>
2016-09-16Add baremetal node for puppet-infracloudYolanda Robla Mota2-0/+29
Change-Id: Ie18b25634016dcc98ec83e30c51b4c386ffd9ecc Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-09-12Change naming for bridge in CentOSYolanda Robla Mota1-1/+1
Change-Id: I7a35a1222ce7524fbf74848daec68dfd57616026 Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
2016-09-09Stop 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>
2016-09-07Fix 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>
2016-09-01infra: 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>
2016-09-01Merge "Disable selinux on RHEL case"Fatih Degirmenci2-0/+16
2016-09-01Merge "Add jumphost to the managed servers"Fatih Degirmenci1-0/+7
2016-09-01Disable 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
2016-09-01Add 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
2016-09-01Set 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>
2016-08-23Add 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>
2016-08-12Add directories for openstack-infra prototypingFatih Degirmenci1-0/+0
Change-Id: I890d36d0db54efcbcb9911707b72bf58416550b3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>