summaryrefslogtreecommitdiff
path: root/lib/chef/recipe.rb
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2014-02-19 10:57:37 -0800
committerBryan McLellan <btm@loftninjas.org>2014-02-27 11:14:21 -0500
commit62e4f1f1f983029f3565a59d42409312eda17d5a (patch)
tree7765565bd1befba62bcee210a91ed12c2454e174 /lib/chef/recipe.rb
parentea6feff495e88dbdf17a5bdb1ca942385b403da2 (diff)
downloadchef-62e4f1f1f983029f3565a59d42409312eda17d5a.tar.gz
CHEF-5086/COOK-3890: Add reboot_pending? to core DSL
Accessible in recipes and in resources, can be used to detect if Windows needs to reboot to finish a software installation or operating system update.
Diffstat (limited to 'lib/chef/recipe.rb')
-rw-r--r--lib/chef/recipe.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/recipe.rb b/lib/chef/recipe.rb
index 0c688cb5f8..5b95d80590 100644
--- a/lib/chef/recipe.rb
+++ b/lib/chef/recipe.rb
@@ -23,6 +23,7 @@ require 'chef/dsl/data_query'
require 'chef/dsl/platform_introspection'
require 'chef/dsl/include_recipe'
require 'chef/dsl/registry_helper'
+require 'chef/dsl/reboot_pending'
require 'chef/mixin/from_file'
@@ -38,6 +39,7 @@ class Chef
include Chef::DSL::IncludeRecipe
include Chef::DSL::Recipe
include Chef::DSL::RegistryHelper
+ include Chef::DSL::RebootPending
include Chef::Mixin::FromFile
include Chef::Mixin::Deprecation