From 0835ab648a336dce08abcf35a40ca01bb14d0250 Mon Sep 17 00:00:00 2001 From: Xueshan Feng <sfeng@stanford.edu> Date: Tue, 3 Dec 2013 00:00:15 -0800 Subject: [PATCH] ipmi.pp: added virtual test condtion ec2_profile == 'default-paravirtual'.Z --- manifests/ipmi.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/ipmi.pp b/manifests/ipmi.pp index 33f868a..df7209c 100644 --- a/manifests/ipmi.pp +++ b/manifests/ipmi.pp @@ -2,8 +2,8 @@ class base::ipmi { - # disable ipmi and ipmievd on vmware (or others) - if $::is_virtual == 'true' { # string comparison + # disable ipmi and ipmievd on vmware (or others). facter string comparison + if $::is_virtual == 'true' or $::ec2_profile == 'default-paravirtual' { case $::operatingsystem { 'debian', 'ubuntu': { package { 'ipmitool': ensure => purged } @@ -85,4 +85,4 @@ class base::ipmi { } } } -} \ No newline at end of file +} -- GitLab