aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2015-01-19 15:41:26 -0500
committerDan Prince <dprince@redhat.com>2015-01-27 09:07:19 -0500
commit8633aca4ed5461b5758866f5b64fdaf9957ae151 (patch)
treed4afdef9778af2c85b9d1a3417e8927cbf17c2d4 /puppet
parent25b35cb71174c1db971e2f80b693d1be2e502d4e (diff)
Puppet: Cinder common block storage support
This patch implements the required changes to configure common Cinder block storage nodes via Puppet. Change-Id: Iac8b4679a00f58d5faac4a1d08b7a830f0360ba5
Diffstat (limited to 'puppet')
-rw-r--r--puppet/hieradata/volume.yaml4
-rw-r--r--puppet/overcloud_volume.pp19
2 files changed, 23 insertions, 0 deletions
diff --git a/puppet/hieradata/volume.yaml b/puppet/hieradata/volume.yaml
new file mode 100644
index 00000000..ad9e2c2a
--- /dev/null
+++ b/puppet/hieradata/volume.yaml
@@ -0,0 +1,4 @@
+# Hiera data here applies to all volume storage nodes
+
+# cinder
+cinder::scheduler::scheduler_driver: cinder.scheduler.filter_scheduler.FilterScheduler
diff --git a/puppet/overcloud_volume.pp b/puppet/overcloud_volume.pp
new file mode 100644
index 00000000..460a82b4
--- /dev/null
+++ b/puppet/overcloud_volume.pp
@@ -0,0 +1,19 @@
+# Copyright 2015 Red Hat, Inc.
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+include ::cinder
+include ::cinder::volume
+include ::cinder::volume::iscsi
+include ::cinder::setup_test_volume