Initial kilo updates
Change-Id: Ibe513aa48a8d89d28d0e0d689ea839f263dd9316 Partial-Bug: #1426424
This commit is contained in:
parent
611e31c6e8
commit
7d54393016
26
.gitignore
vendored
26
.gitignore
vendored
@ -1,21 +1,9 @@
|
|||||||
*~
|
|
||||||
*#
|
|
||||||
.#*
|
|
||||||
\#*#
|
|
||||||
.*.sw[a-z]
|
|
||||||
*.un~
|
|
||||||
pkg/
|
|
||||||
|
|
||||||
# Berkshelf
|
|
||||||
.vagrant
|
|
||||||
berks-cookbooks/*
|
|
||||||
Berksfile.lock
|
|
||||||
|
|
||||||
# Bundler
|
|
||||||
Gemfile.lock
|
|
||||||
bin/
|
|
||||||
.bundle/
|
.bundle/
|
||||||
|
berks-cookbooks/
|
||||||
|
.kitchen
|
||||||
|
.vagrant
|
||||||
.coverage/
|
.coverage/
|
||||||
.kitchen/
|
*.swp
|
||||||
.kitchen.local.yml
|
Berksfile.lock
|
||||||
|
Vagrantfile
|
||||||
|
Gemfile.lock
|
||||||
|
24
.rubocop.yml
24
.rubocop.yml
@ -1,19 +1,21 @@
|
|||||||
# Rubocop, we're buddies and all, but we're going to have to disagree on the following
|
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
Exclude:
|
Include:
|
||||||
- berks-cookbooks/**
|
- metadata.rb
|
||||||
- Guardfile
|
|
||||||
|
|
||||||
Encoding:
|
|
||||||
Exclude:
|
|
||||||
- Gemfile
|
- Gemfile
|
||||||
|
- attributes/**
|
||||||
WordArray:
|
- libraries/**
|
||||||
MinSize: 3
|
- providers/**
|
||||||
|
- recipes/**
|
||||||
|
- resources/**
|
||||||
|
- spec/**
|
||||||
|
Exclude:
|
||||||
|
- .cookbooks/**/*
|
||||||
|
- berks-cookbooks/**/*
|
||||||
|
- .bundle/**/*
|
||||||
|
|
||||||
Encoding:
|
Encoding:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
- metadata.rb
|
||||||
- Gemfile
|
- Gemfile
|
||||||
|
|
||||||
NumericLiterals:
|
NumericLiterals:
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
source 'https://supermarket.getchef.com'
|
source "https://supermarket.chef.io"
|
||||||
|
|
||||||
metadata
|
metadata
|
||||||
|
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,13 +0,0 @@
|
|||||||
openstack-client CHANGELOG
|
|
||||||
==========================
|
|
||||||
|
|
||||||
This file is used to list changes made in each version of the openstack-client cookbook.
|
|
||||||
|
|
||||||
10.0.1
|
|
||||||
-----
|
|
||||||
- [Paul Czarkowski](https://twitter.com/pczarkowski) - Initial release of openstack-client
|
|
||||||
|
|
||||||
- - -
|
|
||||||
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
|
|
||||||
|
|
||||||
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
|
|
14
Gemfile
14
Gemfile
@ -1,11 +1,15 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'berkshelf', '~> 3.1.5'
|
gem 'chef', '~> 11.18.6'
|
||||||
gem 'chef', '~> 11.6'
|
gem 'json', '<= 1.7.7' # chef 11 dependency
|
||||||
gem 'rake', '~> 10.0'
|
gem 'berkshelf', '~> 3.2.1'
|
||||||
gem 'rubocop', '~> 0.20'
|
gem 'hashie', '~> 2.0'
|
||||||
gem 'foodcritic'
|
|
||||||
gem 'chefspec', '~> 4.0.0'
|
gem 'chefspec', '~> 4.0.0'
|
||||||
|
gem 'rspec', '~> 3.0.0'
|
||||||
|
gem 'foodcritic', '~> 4.0'
|
||||||
|
gem 'rubocop', '~> 0.29.1'
|
||||||
|
|
||||||
|
gem 'rake', '~> 10.0'
|
||||||
gem 'test-kitchen'
|
gem 'test-kitchen'
|
||||||
gem 'kitchen-vagrant'
|
gem 'kitchen-vagrant'
|
||||||
gem 'guard', '>= 2.6'
|
gem 'guard', '>= 2.6'
|
||||||
|
11
metadata.rb
11
metadata.rb
@ -5,9 +5,10 @@ maintainer_email 'opscode-chef-openstack@googlegroups.com'
|
|||||||
license 'Apache2'
|
license 'Apache2'
|
||||||
description 'Library cookbook to interact with Openstack Clouds'
|
description 'Library cookbook to interact with Openstack Clouds'
|
||||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||||
version '10.0.1'
|
version '11.0.0'
|
||||||
|
|
||||||
supports 'ubuntu', '>= 12.04'
|
supports 'ubuntu', '>= 14.04'
|
||||||
%w(build-essential apt xml).each do |ckbk|
|
|
||||||
depends ckbk
|
depends 'apt', '~> 2.6.1'
|
||||||
end
|
depends 'build-essential', '~> 2.1.3'
|
||||||
|
depends 'xml', '~> 1.2.13'
|
||||||
|
@ -40,7 +40,6 @@ def load_current_resource
|
|||||||
end
|
end
|
||||||
|
|
||||||
action :create do
|
action :create do
|
||||||
|
|
||||||
f = Tempfile.new('download')
|
f = Tempfile.new('download')
|
||||||
|
|
||||||
f.binmode if new_resource.binmode
|
f.binmode if new_resource.binmode
|
||||||
@ -62,7 +61,6 @@ action :create do
|
|||||||
end
|
end
|
||||||
|
|
||||||
action :create_if_missing do
|
action :create_if_missing do
|
||||||
|
|
||||||
unless current_resource.exists
|
unless current_resource.exists
|
||||||
action_create
|
action_create
|
||||||
new_resource.updated_by_last_action(true)
|
new_resource.updated_by_last_action(true)
|
||||||
|
@ -9,6 +9,5 @@ describe 'openstack-client::default' do
|
|||||||
it 'writes some chefspec code' do
|
it 'writes some chefspec code' do
|
||||||
skip 'todo'
|
skip 'todo'
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user