aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/overcloud_compute.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/overcloud_compute.pp')
-rw-r--r--puppet/overcloud_compute.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/overcloud_compute.pp b/puppet/overcloud_compute.pp
index 693a06b3..2ff31be2 100644
--- a/puppet/overcloud_compute.pp
+++ b/puppet/overcloud_compute.pp
@@ -13,6 +13,17 @@
# 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
class { 'nova':