Skip to content

Commit

Permalink
Remove old files, add build files
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic-penguin committed Jan 28, 2014
1 parent fecb517 commit 7d98274
Show file tree
Hide file tree
Showing 33 changed files with 87 additions and 882 deletions.
4 changes: 3 additions & 1 deletion .gitignore
@@ -1,4 +1,6 @@
metadata.json
Gemfile.lock
*.lock
.kitchen/
.kitchen.local.yml
.coverage
checkstyle.xml
2 changes: 2 additions & 0 deletions .rspec
@@ -0,0 +1,2 @@
--color
-f documentation
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -5,6 +5,7 @@ gem 'chefspec', '~> 3.1'
gem 'foodcritic', '~> 3.0'
gem 'rubocop'
gem 'rubocop-checkstyle_formatter', require: false
gem 'rainbow', '<= 1.99.1'

group :integration do
gem 'test-kitchen'
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -41,4 +41,4 @@ end
task :default => ['foodcritic', 'rubocop', 'chefspec']

# jenkins tasks format for metric tracking
task :jenkins => ['foodcritic', 'rubocop_checkformat', 'chefspec']
task :jenkins => ['foodcritic', 'rubocop_checkformat']
33 changes: 0 additions & 33 deletions attributes/corporate.rb

This file was deleted.

33 changes: 30 additions & 3 deletions attributes/default.rb
@@ -1,8 +1,9 @@
#
# Cookbook Name:: yumrepo
# Attributes:: default
# Attributes:: vmware
#
# Copyright 2011, Eric G. Wolfe
# Copyright 2010, Eric G. Wolfe
# Copyright 2010, Tippr Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -17,4 +18,30 @@
# limitations under the License.
#

default['repo']['key_path'] = "/etc/pki/rpm-gpg"
# Attributes for VMware 5.x recipe
default['repo']['vmware']['key'] = "VMWARE-PACKAGING-GPG-RSA-KEY"
default['repo']['vmware']['release'] = "5.1"
default['repo']['vmware']['install_optional'] = false
default['repo']['vmware']['services'] = %w{ vmware-tools-services }

case node['platform_version'].to_i
when 6
default['repo']['vmware']['service_provider'] = Chef::Provider::Service::Upstart
else
default['repo']['vmware']['service_provider'] = Chef::Provider::Service::Init::Redhat
end

if node['dmi'] and node['dmi']['system'] and node['dmi']['system']['manufacturer'] and node['dmi']['system']['manufacturer'] =~ /vmware/i and node['platform_version'].to_f >= 5
set['repo']['vmware']['enabled'] = true
else
set['repo']['vmware']['enabled'] = false
end

default['repo']['vmware']['url'] = "http://packages.vmware.com/tools/esx/#{node['repo']['vmware']['release']}/rhel#{node['platform_version'].to_i}/$basearch"
default['repo']['vmware']['key_url'] = "http://packages.vmware.com/tools/keys/#{node['repo']['vmware']['key']}.pub"

default['repo']['vmware']['required_packages'] = [
"vmware-tools-esx-nox",
"vmware-tools-esx-kmods"
]
default['repo']['vmware']['optional_packages'] = Array.new
32 changes: 0 additions & 32 deletions attributes/dell.rb

This file was deleted.

27 changes: 0 additions & 27 deletions attributes/epel.rb

This file was deleted.

22 changes: 0 additions & 22 deletions attributes/jenkins.rb

This file was deleted.

21 changes: 0 additions & 21 deletions attributes/percona.rb

This file was deleted.

23 changes: 0 additions & 23 deletions attributes/postgresql.rb

This file was deleted.

21 changes: 0 additions & 21 deletions attributes/rbel.rb

This file was deleted.

47 changes: 0 additions & 47 deletions attributes/vmware-tools.rb

This file was deleted.

22 changes: 0 additions & 22 deletions attributes/zenoss.rb

This file was deleted.

3 changes: 0 additions & 3 deletions attributes/zeromq.rb

This file was deleted.

38 changes: 0 additions & 38 deletions recipes/corporate.rb

This file was deleted.

0 comments on commit 7d98274

Please sign in to comment.