Skip to content
Snippets Groups Projects
Commit 0835ab64 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

ipmi.pp: added virtual test condtion ec2_profile == 'default-paravirtual'.Z

parent 18924472
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment