diff --git a/metadata.rb b/metadata.rb index 38fc4a9d..79bbc4d3 100644 --- a/metadata.rb +++ b/metadata.rb @@ -14,6 +14,4 @@ %w{ debian ubuntu centos redhat scientific fedora amazon arch oracle freebsd windows suse xenserver}.each do |os| supports os -end - -depends "windows" +end \ No newline at end of file diff --git a/recipes/windows.rb b/recipes/windows.rb deleted file mode 100644 index 8480edc4..00000000 --- a/recipes/windows.rb +++ /dev/null @@ -1,28 +0,0 @@ -# -# Author:: Kendrick Martin () -# Cookbook Name:: java -# Recipe:: windows -# -# Copyright 2008-2012 Webtrends, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -Chef::Log.warn("No download url set for java installer.") unless node['java']['windows']['url'] - -windows_package node['java']['windows']['package_name'] do - source node['java']['windows']['url'] - action :install - installer_type :custom - options "/s" -end \ No newline at end of file diff --git a/spec/windows_spec.rb b/spec/windows_spec.rb deleted file mode 100644 index a93423d3..00000000 --- a/spec/windows_spec.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'chefspec' - -describe 'java::windows' do - let(:chef_run) { ChefSpec::ChefRunner.new.converge 'java::windows' } - it 'should do something' do - pending 'Your recipe examples go here.' - end -end