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

Better upgrade and distro package installation. #180

Merged
merged 4 commits into from Dec 16, 2014

Conversation

Projects
None yet
2 participants
@jjasghar
Copy link
Collaborator

commented Dec 9, 2014

The rabbitmq cookbook should support both install and upgrade of packages.

Fixes issue#143

wenchma and others added some commits Dec 8, 2014

wenchma
Add the packages upgrade support
The rabbitmq cookbook should support both install and upgrade of packages.

Fixes issue#143
JJ Asghar
This pins the version of the package for upgrade
So you make sure you don't upgrade anything other than what you.

@jjasghar jjasghar added the in progress label Dec 9, 2014

@jjasghar jjasghar changed the title Better upgrad Better upgrade and distro package installation. Dec 9, 2014

@cheeseplus

This comment has been minimized.

Copy link
Contributor

commented on 5fd487c Dec 9, 2014

Do we need upgrade for the action? Wouldn't install suffice and also upgrade if the version?

This comment has been minimized.

Copy link
Collaborator

replied Dec 9, 2014

Yeah, i was debating that. I'm also writing the spec ATM.

@@ -42,10 +42,6 @@
expect(chef_run).to create_remote_file_if_missing("#{Chef::Config[:file_cache_path]}/rabbitmq-server-#{version}.noarch.rpm")
end

it 'installs the rabbitmq-server rpm_package with the default action' do

This comment has been minimized.

Copy link
@jjasghar

jjasghar Dec 9, 2014

Author Collaborator

This totally didn't work how i expected. I'll need to investigate this.

@jjasghar jjasghar added the needs tests label Dec 9, 2014

@jjasghar

This comment has been minimized.

Copy link
Collaborator Author

commented Dec 9, 2014

I havent hooked up travis to do it yet, but it looks like kitchen passes too:

-----> Kitchen is finished. (16m15.09s)
14:26:57 rabbitmq > (better_upgrad) bundle exec kitchen list
Instance                  Driver        Provisioner  Last Action
default-centos-6-5-x64    Digitalocean  ChefZero     <Not Created>
default-debian-7-0-x64    Digitalocean  ChefZero     <Not Created>
default-ubuntu-12-04-x64  Digitalocean  ChefZero     <Not Created>
default-ubuntu-14-04-x64  Digitalocean  ChefZero     <Not Created>
cluster-centos-6-5-x64    Digitalocean  ChefZero     <Not Created>
cluster-debian-7-0-x64    Digitalocean  ChefZero     <Not Created>
cluster-ubuntu-12-04-x64  Digitalocean  ChefZero     <Not Created>
cluster-ubuntu-14-04-x64  Digitalocean  ChefZero     <Not Created>
lwrps-centos-6-5-x64      Digitalocean  ChefZero     <Not Created>
lwrps-debian-7-0-x64      Digitalocean  ChefZero     <Not Created>
lwrps-ubuntu-12-04-x64    Digitalocean  ChefZero     <Not Created>
lwrps-ubuntu-14-04-x64    Digitalocean  ChefZero     <Not Created>
14:28:27 rabbitmq > (better_upgrad)

@jjasghar jjasghar merged commit 9fd31ec into master Dec 16, 2014

1 check was pending

continuous-integration/travis-ci The Travis CI build is in progress
Details

@jjasghar jjasghar removed the in progress label Dec 16, 2014

@jjasghar jjasghar deleted the better_upgrad branch Dec 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.