From 93b56beba6e23e4c39823c49a79b9a96f263679e Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Thu, 18 Jul 2013 14:23:09 -0700 Subject: [PATCH] Pin rabbitmq module This commit pins rabbitmq to a known working revision to fix failing unit tests and unblock code merged. It also assumes that the module can no longer track master of upstream repos and removes other_repos.yaml b/c it did not supported individual branches. Change-Id: I8e473740dcf0085fb8d5313959983a0f410faf55 --- .fixtures.yml | 4 +++- README.md | 4 +--- Rakefile | 42 ------------------------------------------ other_repos.yaml | 34 ---------------------------------- 4 files changed, 4 insertions(+), 80 deletions(-) delete mode 100644 other_repos.yaml diff --git a/.fixtures.yml b/.fixtures.yml index 5ce53e4..a469f90 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -13,7 +13,9 @@ fixtures: "concat": "git://github.com/ripienaar/puppet-concat.git" "firewall": "git://github.com/puppetlabs/puppetlabs-firewall.git" "mysql": "git://github.com/puppetlabs/puppetlabs-mysql.git" - "rabbitmq": "git://github.com/puppetlabs/puppetlabs-rabbitmq" + "rabbitmq": + repo: "git://github.com/puppetlabs/puppetlabs-rabbitmq" + ref: 9eadc4274b5a70fd55d036b0365f63e90325d5a7 'memcached': 'git://github.com/saz/puppet-memcached' "stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git" "sysctl": "git://github.com/duritong/puppet-sysctl.git" diff --git a/README.md b/README.md index bd8dc26..0606a0b 100644 --- a/README.md +++ b/README.md @@ -397,9 +397,7 @@ class { 'openstack::auth_file': The classes included in the Openstack module are implemented using a number of other modules. These modules can be used directly to create a customized openstack deployment. -A list of the modules used by puppetlabs-openstack and the source locations for those modules can be found in `other_repos.yaml` in the openstack module folder. - - other_repos.yaml +The full list of modules, their source locations, as well as the revisions that have been tested are available in the file .fixtures.yaml. These building block modules have been written to support a wide variety of specific configuration and deployment use cases. They also provide a lot of configuration options not available with the more constrained puppetlabs-openstack modules. diff --git a/Rakefile b/Rakefile index d415882..c695794 100644 --- a/Rakefile +++ b/Rakefile @@ -14,48 +14,6 @@ rescue LoadError puts "!!!!!" end -repo_file = 'other_repos.yaml' -default_modulepath = '/etc/puppet/modules' - -namespace :modules do - desc 'clone all required modules' - task :clone do - repo_hash = YAML.load_file(File.join(File.dirname(__FILE__), repo_file)) - repos = (repo_hash['repos'] || {}) - modulepath = (repo_hash['modulepath'] || default_modulepath) - repos_to_clone = (repos['repo_paths'] || {}) - branches_to_checkout = (repos['checkout_branches'] || {}) - repos_to_clone.each do |remote, local| - # I should check to see if the file is there? - outpath = File.join(modulepath, local) - output = `git clone #{remote} #{outpath}` - puts output - end - branches_to_checkout.each do |local, branch| - Dir.chdir(File.join(modulepath, local)) do - output = `git checkout #{branch}` - end - # Puppet.debug(output) - end - end - - desc 'see if any of the modules are not up-to-date' - task 'status' do - repo_hash = YAML.load_file(File.join(File.dirname(__FILE__), repo_file)) - repos = (repo_hash['repos'] || {}) - modulepath = (repo_hash['modulepath'] || default_modulepath) - repos_to_clone = (repos['repo_paths'] || {}) - branches_to_checkout = (repos['checkout_branches'] || {}) - repos_to_clone.each do |remote, local| - # I should check to see if the file is there? - Dir.chdir(File.join(modulepath, local)) do - puts "Checking status of #{local}" - puts `git status` - end - end - end -end - namespace :github do desc 'check all dependeny projects and generate a report about open pull requests' task 'pull_request_stats' do diff --git a/other_repos.yaml b/other_repos.yaml deleted file mode 100644 index 1942b8e..0000000 --- a/other_repos.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# modulepath: /etc/puppet/modules -repos: - repo_paths: - # openstack git repos - git://github.com/stackforge/puppet-nova: nova - git://github.com/stackforge/puppet-glance: glance - git://github.com/stackforge/puppet-swift: swift - git://github.com/stackforge/puppet-keystone: keystone - git://github.com/stackforge/puppet-horizon: horizon - git://github.com/stackforge/puppet-cinder: cinder - git://github.com/stackforge/puppet-quantum: quantum - # openstack middleware - git://github.com/puppetlabs/puppetlabs-rabbitmq: rabbitmq - git://github.com/puppetlabs/puppetlabs-mysql: mysql - git://github.com/puppetlabs/puppetlabs-git: git - git://github.com/puppetlabs/puppetlabs-vcsrepo: vcsrepo - git://github.com/saz/puppet-memcached: memcached - git://github.com/puppetlabs/puppetlabs-rsync: rsync - git://github.com/puppetlabs/puppetlabs-apache: apache - git://github.com/bodepd/puppet-vswitch: vswitch - # other deps - git://github.com/puppetlabs/puppetlabs-xinetd: xinetd - git://github.com/saz/puppet-ssh: ssh - git://github.com/puppetlabs/puppetlabs-stdlib: stdlib - git://github.com/puppetlabs/puppetlabs-apt: apt - git://github.com/ripienaar/puppet-concat: concat - git://github.com/duritong/puppet-sysctl.git: sysctl - git://github.com/cprice-puppet/puppetlabs-inifile: inifile - - checkout_branches: - # for some reason this is not checking out to master by default - cinder: master -# glance: dev -# nova: dev