Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lvm 4 0 #61

Merged
merged 50 commits into from Jan 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
f573eb2
Update default.rb
felka Aug 24, 2015
b44c1cb
Update metadata.rb
felka Aug 24, 2015
286d818
Update metadata.rb
felka Aug 24, 2015
3fcb7c8
Added attribute for wipe_attributes to pass along to the lvm_volump_g…
Apr 22, 2016
85af7ba
Allow gem deps to vary within major version
pgarrett-twc May 7, 2016
1f6fe94
Merge pull request #1 from rightscale-cookbooks/master
areznikov-kabam Aug 17, 2016
aaf580b
according to chai gce changed metadata
areznikov-kabam Aug 17, 2016
6de0b20
updated metadata and changeling
areznikov-kabam Aug 17, 2016
6164b85
updating to lvm-3.0
rshade Sep 20, 2016
2400e8d
additional try for wipefs as new version supports -f flag
areznikov-kabam Oct 5, 2016
8c44860
fix deprecation warning, using allow instead of should_receive
Dec 6, 2016
e4a6942
chef 12 migration
Dec 6, 2016
07ad3ee
updating travis
rshade Dec 14, 2016
ef623d0
updating net-persistent-http
rshade Dec 14, 2016
4cd844b
adding version 1.0.18
rshade Dec 14, 2016
0875ceb
Merge branch 'areznikov-kabam-master' into lvm_3_0
rshade Dec 14, 2016
ff395e9
fixing versions
rshade Dec 14, 2016
22a4627
fixing versions
rshade Dec 14, 2016
a33a9b8
Merge branch 'freimer-freimer/wipe_signatures' into lvm_3_0
rshade Dec 14, 2016
fd456fa
merging version
rshade Dec 15, 2016
4fe0b5d
updating merge version
rshade Dec 15, 2016
2e93f94
updating merge
rshade Dec 15, 2016
8fd8b6b
Merge branch 'SupersonicAds-master' into lvm_3_0
rshade Dec 15, 2016
b70ddcf
updating gemfile for tests
rshade Dec 16, 2016
19f114a
updating from skeleton for tests
rshade Dec 19, 2016
4e918db
adding gitignore
rshade Dec 19, 2016
f88ddf0
updating for cookstyle
rshade Dec 19, 2016
8bde3cc
removing berksfile.lock
rshade Dec 19, 2016
4c89753
adding .travis_install.sh
rshade Dec 19, 2016
30424e0
removing centos7.0
rshade Dec 19, 2016
b4dbc02
removing apt
rshade Dec 19, 2016
fa0563d
fixing stuff
rshade Dec 19, 2016
f034899
updating ruby-version
rshade Dec 20, 2016
4ac137b
updating rakefile and travis
rshade Jan 6, 2017
ed31c01
pinning Berksfile.lock
rshade Jan 6, 2017
0b116f5
updating readme to chef12
rshade Jan 6, 2017
69086d2
fixing merge conflict
rshade Jan 6, 2017
879d54c
Merge branch 'chef-12-migration' into lvm_3_0
rshade Jan 6, 2017
077588a
merging master
rshade Jan 6, 2017
cefb75e
using pipmychangelog
rshade Jan 9, 2017
9190cc7
fixes #57
rshade Jan 9, 2017
813da05
updating lvm to 4.0.5
rshade Jan 9, 2017
c2c713d
updating changelog
rshade Jan 11, 2017
ae8d2b1
reverting to 3.1.0, since 4.0.x has breaking changes
rshade Jan 11, 2017
3de8af9
updating to lvm 4.0.5, closes #60
rshade Jan 11, 2017
0415878
updating to >=4.0, closes #62
rshade Jan 11, 2017
100728a
updating changelog
rshade Jan 11, 2017
06294cc
updating from master merge
rshade Jan 25, 2017
9be1018
fixing gce tests, closes #58
rshade Jan 25, 2017
119d830
fixing for cookstyle
rshade Jan 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .kitchen.yml
Expand Up @@ -54,7 +54,7 @@ suites:
# loopback devices "/dev/loop0" and "/dev/loop1"
#
- name: gce
run_list: ["recipe[fake::gce]", "recipe[ephemeral_lvm]"]
run_list: ["recipe[fake]","recipe[fake::gce]", "recipe[ephemeral_lvm]"]
attributes:
cloud:
provider: gce
Expand All @@ -65,11 +65,11 @@ suites:
index: 0
mode: READ_WRITE
type: EPHEMERAL
- deviceName: ephemeral-disk-0
- deviceName: local-ssd-0
index: 1
mode: READ_WRITE
type: EPHEMERAL
- deviceName: ephemeral-disk-1
- deviceName: local-ssd-1
index: 2
mode: READ_WRITE
type: EPHEMERAL
8 changes: 4 additions & 4 deletions Berksfile.lock
Expand Up @@ -6,9 +6,9 @@ DEPENDENCIES
path: test/cookbooks/fake

GRAPH
ephemeral_lvm (2.1.0)
lvm (~> 3.1.0)
ephemeral_lvm (3.0.0)
lvm (>= 4.0.0)
now (>= 0.0.0)
fake (0.1.0)
lvm (3.1.0)
fake (0.1.1)
lvm (4.0.5)
now (1.0.0)
9 changes: 8 additions & 1 deletion CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@ ephemeral_lvm Cookbook CHANGELOG

This file is used to list changes made in each version of the ephemeral_lvm cookbook.

v3.0.0
------
- locks to [lvm](https://github.com/chef-cookbooks/lvm) >= 4.0, Issues: ([#60][], [#62][]), PR: [#61][]

v2.1.0
------
- [lvm-3.1.0](https://github.com/chef-cookbooks/lvm/releases/tag/v3.1.0)
Expand Down Expand Up @@ -130,10 +134,13 @@ v1.0.0
[#48]: https://github.com/rightscale-cookbooks/ephemeral_lvm/issues/48
[#50]: https://github.com/rightscale-cookbooks/ephemeral_lvm/issues/50
[#54]: https://github.com/rightscale-cookbooks/ephemeral_lvm/issues/54
[#60]: https://github.com/rightscale-cookbooks/ephemeral_lvm/issues/60
[#61]: https://github.com/rightscale-cookbooks/ephemeral_lvm/issues/61
[#62]: https://github.com/rightscale-cookbooks/ephemeral_lvm/issues/62
[@areznikov-kabam]: https://github.com/areznikov-kabam
[@autrejacoupa]: https://github.com/autrejacoupa
[@drywheat]: https://github.com/drywheat
[@felka]: https://github.com/felka
[@freimer]: https://github.com/freimer
[@juliandunn]: https://github.com/juliandunn
[@kingpong]: https://github.com/kingpong
[@kingpong]: https://github.com/kingpong
4 changes: 2 additions & 2 deletions metadata.rb
Expand Up @@ -5,7 +5,7 @@
license 'Apache 2.0'
description 'Configures available ephemeral devices on a cloud server'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.1.0'
version '3.0.0'
issues_url 'https://github.com/rightscale-cookbooks/ephemeral_lvm/issues' if respond_to?(:issues_url)
source_url 'https://github.com/rightscale-cookbooks/ephemeral_lvm' if respond_to?(:source_url)
chef_version '>= 12.0' if respond_to?(:chef_version)
Expand All @@ -15,7 +15,7 @@
supports 'debian'

depends 'now'
depends 'lvm', '~> 3.1.0'
depends 'lvm', '>= 4.0'

recipe 'ephemeral_lvm::default', 'Sets up ephemeral devices on a cloud server'

Expand Down
2 changes: 1 addition & 1 deletion test/cookbooks/fake/metadata.rb
Expand Up @@ -5,4 +5,4 @@
license 'Apache 2.0'
description 'A fake cookbook to prepare the test environment for ephemeral_lvm'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
version '0.1.1'
9 changes: 6 additions & 3 deletions test/cookbooks/fake/recipes/gce.rb
Expand Up @@ -21,15 +21,18 @@
# Include the fake::default recipe which sets up the loopback
# devices used in the test.
#
Chef::Log.info 'including fake recipe'
include_recipe 'fake'

# Setup the links for ephemeral devices for google by id
#
node['fake']['devices'].each do |device|
match = device.match(%{\/dev\/loop(\d+)})
match = device.match(%r{\/dev\/loop(\d+)})
next if match.nil?
device_index = match[1]
link "/dev/disk/by-id/google-ephemeral-disk-#{device_index}" do
Chef::Log.info "adding in device: #{device}"
link "/dev/disk/by-id/google-local-ssd-#{device_index}" do
to device
end
action :nothing
end.run_action(:create)
end