diff options
author | Bryan McLellan <btm@opscode.com> | 2014-02-19 10:57:37 -0800 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-02-27 11:14:21 -0500 |
commit | 62e4f1f1f983029f3565a59d42409312eda17d5a (patch) | |
tree | 7765565bd1befba62bcee210a91ed12c2454e174 /lib/chef/recipe.rb | |
parent | ea6feff495e88dbdf17a5bdb1ca942385b403da2 (diff) | |
download | chef-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.rb | 2 |
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 |