diff options
author | Matt Ray <matthewhray@gmail.com> | 2012-11-09 17:10:09 -0600 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-12-06 13:05:23 -0800 |
commit | fd671c0e657ffd586f003328fb255b6f3c5d0dd1 (patch) | |
tree | 29fcd39f0d270079b068ccc589d6baa72b6769fe /lib/ohai/plugins/cloud.rb | |
parent | 2181511bf4d6696f4fcc45be68e3e668abcd36f0 (diff) | |
download | ohai-fd671c0e657ffd586f003328fb255b6f3c5d0dd1.tar.gz |
add support for identifying Rackspace, HP or vanilla OpenStack
Diffstat (limited to 'lib/ohai/plugins/cloud.rb')
-rw-r--r-- | lib/ohai/plugins/cloud.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/cloud.rb b/lib/ohai/plugins/cloud.rb index 0bb2efe0..a189541b 100644 --- a/lib/ohai/plugins/cloud.rb +++ b/lib/ohai/plugins/cloud.rb @@ -169,7 +169,7 @@ def get_openstack_values cloud[:public_hostname] = openstack['public_hostname'] cloud[:local_ipv4] = openstack['local_ipv4'] cloud[:local_hostname] = openstack['local_hostname'] - cloud[:provider] = "openstack" + cloud[:provider] = openstack['provider'] end # setup openstack cloud |