summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-09-08 14:21:47 -0700
committerTim Smith <tsmith@chef.io>2017-09-08 14:21:47 -0700
commitbf7bfc278b53962df6b49fd0c794bf238bab57ff (patch)
tree33f1be3d03a0aa94fefd9a783d7c75b3949ae1c1
parentf40ef8b4dca9932db84fcf627841195edf0e09e4 (diff)
downloadohai-bf7bfc278b53962df6b49fd0c794bf238bab57ff.tar.gz
Move the require into the plugin
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/azure.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ohai/plugins/azure.rb b/lib/ohai/plugins/azure.rb
index 908ea575..cf173a59 100644
--- a/lib/ohai/plugins/azure.rb
+++ b/lib/ohai/plugins/azure.rb
@@ -14,10 +14,10 @@
# limitations under the License.
#
-require "ohai/mixin/azure_metadata"
-require "ohai/mixin/http_helper"
-
Ohai.plugin(:Azure) do
+ require "ohai/mixin/azure_metadata"
+ require "ohai/mixin/http_helper"
+
include Ohai::Mixin::AzureMetadata
include Ohai::Mixin::HttpHelper