aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/overcloud_object.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/overcloud_object.pp')
-rw-r--r--puppet/overcloud_object.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/overcloud_object.pp b/puppet/overcloud_object.pp
index d415c23a..c407afad 100644
--- a/puppet/overcloud_object.pp
+++ b/puppet/overcloud_object.pp
@@ -13,6 +13,16 @@
# License for the specific language governing permissions and limitations
# under the License.
+if !str2bool(hiera('enable_package_install', 'false')) {
+ case $::osfamily {
+ 'RedHat': {
+ Package { provider => 'norpm' } # provided by tripleo-puppet
+ }
+ default: {
+ warning('enable_package_install option not supported.')
+ }
+ }
+}
include ::ntp
include ::swift