aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/swift/storage.pp
AgeCommit message (Collapse)AuthorFilesLines
2017-06-14Ensure hiera step value is an integerSteve Baker1-1/+1
The step is typically set with the hieradata setting an integer value: {"step": 1} However it would be useful for the value to be a string so that substitutions are possible, for example: {"step": "%{::step}"} This change ensures the step parameter defaults to an integer by calling Integer(hiera('step')) This change was made by manually removing the undef defaults from fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with: find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/" Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2016-12-20Add missing Swift base classChristian Schwede1-0/+1
The Swift base class is required if the SwiftStorageRole is used without the SwiftRingBuilder role. Change-Id: I496b65dc53c03c0711d21f98627cc21be653ca5d
2016-11-30Include swift::storage::loopbacks classChristian Schwede1-0/+1
This makes it possible to create loopback devices for Swift by using additional Hieradata. For example, to create a 100M loopback device that will be mounted on /srv/node/d1: parameter_defaults: ControllerExtraConfig: swift::storage::loopbacks::args: {"d1": {'seek': '100000'}} Depends-On: I11a230b7cf08a4cc2a144d9af0e6c81bb3827348 Change-Id: I8741acc8afa1f1d23c5b25fa4bf27622f674a561
2016-10-07Include ::swift::config in Swift API and Storage rolesGiulio Fidente1-0/+1
This changes makes the Swift API and Storage roles to include the ::swift::config class, as we do for the other OpenStack services, which is useful to push arbitrary config settings into Swift. Change-Id: Iaf2c2f0f0103fe9264ce875099a1578b353a5558
2016-09-21Fix Swift manifest for Puppet4 deploymentEmilien Macchi1-1/+1
1) swift/ringbuilder: seed must be a String Because we use validate_re in puppet-swift and puppet4 requires the regex to be a string, not an integer. 2) Fix Swift package name In puppet4, we need the resource title, not the resource name. Change-Id: I50cea96d45e0eb46c19040d9a7105ab72c2dbef7
2016-08-18Merge "Allow use of raw disks for Swift storage role"Jenkins1-0/+1
2016-08-08Fix parameters and headers inconsistency in the puppet manifests.Carlos Camacho1-6/+5
As we are staring to manually check overcloud services the first step is to check that the puppet profiles are all aligned. Changes applied: No logic added or removed in this submission. Removed unused parameters. Align header comments structure. All profiles parameters sorted following: "Mandatory params first sorted alphabetically then optional params sorted alphabetically." Note: Following submissions will check pacemaker, cinder, mistral and redis services in the base profiles as some of them has the $pacemaker_master parameter defaulted to true. Change-Id: I2f91c3f6baa33f74b5625789eec83233179a9655
2016-08-04Allow use of raw disks for Swift storage roleGiulio Fidente1-0/+1
Adds a call to swift::storage::disks to make it partition additional disks to use with Swift. Depends-On: I3692b17988f8eacb7b8a7df1006a7fe24f587065 Change-Id: Iac75cf2244339fae444be5859b7583e80bafc4e2
2016-06-22Add puppet profile for swift storageSteven Hardy1-0/+52
Breaks out the swift storage configuration from t-h-t to a composable profile Change-Id: Ie68d7eccf4938bdbdea93327af0638b3fd002b3e Partially-Implements: blueprint refactor-puppet-manifests