Skip to content

Commit 4361d55

Browse files
author
jtimberman
committed
Deprecation warning in bootstrap, drop chef-server
As the bootstrap cookbook is considered deprecated, issue a warning as such in both recipes. Also drop the chef-server gem from the install list, see CHEF-1277.
1 parent d2e1521 commit 4361d55

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

‎bootstrap/recipes/client.rb‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
# limitations under the License.
1818
#
1919

20+
Chef::Log.warn("This recipe will be deprecated soon, please use chef::bootstrap_client")
21+
Chef::Log.warn("See the 'chef' cookbook's README.md for more information.")
22+
2023
root_group=value_for_platform(
2124
"openbsd"=>{"default"=>"wheel"},
2225
"freebsd"=>{"default"=>"wheel"},

‎bootstrap/recipes/server.rb‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
# limitations under the License.
2222
#
2323

24+
Chef::Log.warn("This recipe will be deprecated soon, please use chef::bootstrap_server")
25+
Chef::Log.warn("See the 'chef' cookbook's README.md for more information.")
26+
2427
root_group=value_for_platform(
2528
"openbsd"=>{"default"=>"wheel"},
2629
"freebsd"=>{"default"=>"wheel"},

‎chef/recipes/bootstrap_server.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
include_recipe"zlib"
6363
include_recipe"xml"
6464

65-
server_gems=%w{chef-serverchef-server-apichef-solr}
65+
server_gems=%w{chef-server-apichef-solr}
6666
server_services=%w{chef-serverchef-solrchef-solr-indexer}
6767

6868
ifnode.chef.attribute?("webui_enabled")

0 commit comments

Comments
(0)