summaryrefslogtreecommitdiffstats
path: root/puppet/overcloud_volume.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/overcloud_volume.pp')
-rw-r--r--puppet/overcloud_volume.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/overcloud_volume.pp b/puppet/overcloud_volume.pp
index 91566bb2..9351d708 100644
--- a/puppet/overcloud_volume.pp
+++ b/puppet/overcloud_volume.pp
@@ -13,6 +13,17 @@
# License for the specific language governing permissions and limitations
# under the License.
+if str2bool(hiera('disable_package_install', 'false')) {
+ case $::osfamily {
+ 'RedHat': {
+ Package { provider => 'norpm' } # provided by tripleo-puppet
+ }
+ default: {
+ warning('disable_package_install option not supported.')
+ }
+ }
+}
+
include ::ntp
include ::cinder