+ mode 0644
+ backup false
+end
+
+dpkg_package "chef-erver" do
+ source "/var/cache/chef/#{chef_package}"
+ version node[:chef][:server][:version]
+ notifies :run, "execute[chef-server-reconfigure]"
+end
+
+ruby_block "/opt/chef-server/embedded/service/chef-server-webui/app/controllers/status_controller.rb" do
+ block do
+ rc = Chef::Util::FileEdit.new("/opt/chef-server/embedded/service/chef-server-webui/app/controllers/status_controller.rb")
+ rc.search_file_delete(/&rows=20/)
+ rc.write_file
+
+ if rc.file_edited?
+ resources(:execute => "chef-server-reconfigure").run_action(:run)
+ end
+ end