cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject [42/50] cloudstack-ec2stack git commit: remove vagrant stuff, hasn't been tested in ages
Date Tue, 05 May 2015 13:26:35 GMT
remove vagrant stuff, hasn't been tested in ages


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/commit/4d30d0e8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/tree/4d30d0e8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/diff/4d30d0e8

Branch: refs/heads/master
Commit: 4d30d0e872203bcf3686b43ce9c48fb9f85d7125
Parents: 2cec77c
Author: Ian Duffy <ian@ianduffy.ie>
Authored: Thu Dec 4 14:09:20 2014 +0000
Committer: Ian Duffy <ian@ianduffy.ie>
Committed: Thu Dec 4 14:09:20 2014 +0000

----------------------------------------------------------------------
 VagrantFile                                     |  16 ---
 puppet/files/alias.sh                           |   4 -
 puppet/files/virtualenv.sh                      |   5 -
 puppet/hiera.yaml                               |   6 -
 puppet/manifests/ec2stack.pp                    | 127 -------------------
 puppet/modules/rpmrepos/LICENSE.md              |  13 --
 puppet/modules/rpmrepos/Modulefile              |   8 --
 puppet/modules/rpmrepos/README.md               |  90 -------------
 .../modules/rpmrepos/files/RPM-GPG-KEY-EPEL-5   |  30 -----
 .../modules/rpmrepos/files/RPM-GPG-KEY-EPEL-6   |  29 -----
 .../rpmrepos/files/RPM-GPG-KEY-rpmforge-dag     |  32 -----
 .../rpmrepos/lib/facter/os_maj_version.rb       |  11 --
 puppet/modules/rpmrepos/manifests/epel.pp       |  96 --------------
 puppet/modules/rpmrepos/manifests/init.pp       |  20 ---
 .../modules/rpmrepos/manifests/rpm_gpg_key.pp   |  10 --
 puppet/modules/rpmrepos/manifests/rpmforge.pp   |  57 ---------
 puppet/modules/rpmrepos/metadata.json           |  30 -----
 puppet/modules/rpmrepos/tests/init.pp           |   3 -
 18 files changed, 587 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/VagrantFile
----------------------------------------------------------------------
diff --git a/VagrantFile b/VagrantFile
deleted file mode 100644
index a09afd5..0000000
--- a/VagrantFile
+++ /dev/null
@@ -1,16 +0,0 @@
-Vagrant.configure("2") do |config|
-
-  config.vm.box = "CentOS65"
-  config.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.5-x86_64-v20140110.box"
-
-  config.vm.hostname = "ec2stack.dev"
-  config.vm.network "private_network", ip: "192.168.0.50"
-
-  config.vm.provision :puppet do |puppet|
-      puppet.module_path = "puppet/modules"
-      puppet.manifests_path = "puppet/manifests"
-      puppet.manifest_file = "ec2stack.pp"
-      puppet.options = "--hiera_config /vagrant/puppet/hiera.yaml"
-   end
-
-end

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/files/alias.sh
----------------------------------------------------------------------
diff --git a/puppet/files/alias.sh b/puppet/files/alias.sh
deleted file mode 100644
index b824641..0000000
--- a/puppet/files/alias.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-alias shasum="sha1sum"
-alias aws="aws --debug --output json --color on --no-verify-ssl"
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/files/virtualenv.sh
----------------------------------------------------------------------
diff --git a/puppet/files/virtualenv.sh b/puppet/files/virtualenv.sh
deleted file mode 100644
index 914b858..0000000
--- a/puppet/files/virtualenv.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export WORKON_HOME=~/.virtualenvs
-mkdir -p $WORKON_HOME
-. /usr/bin/virtualenvwrapper.sh
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/hiera.yaml
----------------------------------------------------------------------
diff --git a/puppet/hiera.yaml b/puppet/hiera.yaml
deleted file mode 100644
index 3ff857b..0000000
--- a/puppet/hiera.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-:backends: yaml
-:yaml:
-  :datadir: /var/lib/hiera
-:hierarchy: common
-:logger: console

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/manifests/ec2stack.pp
----------------------------------------------------------------------
diff --git a/puppet/manifests/ec2stack.pp b/puppet/manifests/ec2stack.pp
deleted file mode 100644
index 0054358..0000000
--- a/puppet/manifests/ec2stack.pp
+++ /dev/null
@@ -1,127 +0,0 @@
-group {
-  "puppet": ensure => "present"
-}
-
-Exec {
-path => [ "/bin/", "/sbin/" , "/usr/bin/", "/usr/sbin/",
-"/usr/local/bin"]
-}
-
-stage { 'pre':
-  before => Stage['main']
-}
-
-class { 'baseconfig':
-  stage => 'pre'
-}
-
-class baseconfig {
-exec { "Update the system":
-  command => "/usr/bin/yum -y update"
-}
-
-$packages = [ "zlib-devel", "bzip2-devel", "openssl-devel", "ncurses-devel", "mysql-devel",
"libxml2-devel", "libxslt-devel", "unixODBC-devel", "sqlite", "sqlite-devel", "wget", "git"
]
-
-package {
-  $packages: ensure => "installed"
-}
-
-exec { "Install Development Tools":
-  unless  => "yum grouplist 'Development tools' | /bin/grep '^Installed Groups'",
-  command => "yum -y groupinstall 'Development tools'",
-}
-}
-
-class ec2stack {
-exec { "Install Python 2.7":
-  command => "rm -rf Python-2.7.4* && wget --no-check-certificate http://www.python.org/ftp/python/2.7.4/Python-2.7.4.tar.bz2
&& tar xf Python-2.7.4.tar.bz2 && cd Python-2.7.4 && ./configure --prefix=/usr/local
&& make && make altinstall",
-  cwd => "/tmp",
-  unless => "which python2.7",
-  timeout => 60 * 20,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install distribute 0.6.10 for Python 2.6":
-  command => "rm -rf distribute-* && wget --no-check-certificate http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz
&& tar -xvzf distribute-0.6.10.tar.gz && cd distribute-0.6.10 && python2.6
setup.py install",
-  cwd => "/tmp",
-  unless => "which easy_install-2.6",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install distribute 0.6.10 for Python 2.7":
-  command => "rm -rf distribute-* && wget --no-check-certificate http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz
&& tar -xvzf distribute-0.6.10.tar.gz && cd distribute-0.6.10 && python2.7
setup.py install",
-  cwd => "/tmp",
-  require => [ Exec["Install Python 2.7"] ],
-  unless => "which easy_install-2.7",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install virtualenv 1.9.1 for Python 2.6":
-  command => "rm -rf virtualenv-* && wget --no-check-certificate https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz#md5=07e09df0adfca0b2d487e39a4bf2270a
&& tar -xvzf virtualenv-1.9.1.tar.gz && cd virtualenv-1.9.1 && python2.6
setup.py install",
-  cwd => "/tmp",
-  require => [ Exec["Install distribute 0.6.10 for Python 2.6"] ],
-  unless => "which virtualenv-2.6",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install virtualenvwrapper 4.0 for Python 2.6":
-  command => "rm -rf virtualenvwrapper-* && wget --no-check-certificate https://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-4.0.tar.gz#md5=78df3b40735e959479d9de34e4b8ba15
&& tar -xvzf virtualenvwrapper-4.0.tar.gz && cd virtualenvwrapper-4.0 &&
python2.6 setup.py install",
-  cwd => "/tmp",
-  require => [ Exec["Install virtualenv 1.9.1 for Python 2.6"] ],
-  unless => "which virtualenvwrapper.sh",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install pep8 for Python 2.6":
-  command => "easy_install pep8",
-  cwd => "/tmp",
-  require => [ Exec["Install distribute 0.6.10 for Python 2.6"] ],
-  unless => "which pep8",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install pylint for Python 2.6":
-  command => "easy_install pylint",
-  require => [ Exec["Install distribute 0.6.10 for Python 2.6"] ],
-  unless => "which pylint",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-exec { "Install awscli for Python2.6":
-  command => "easy_install awscli",
-  require => [ Exec["Install distribute 0.6.10 for Python 2.6"] ],
-  unless => "which aws",
-  timeout => 60 * 10,
-  tries => 5,
-  try_sleep => 30
-}
-
-file {
-  "/etc/profile.d/virtualenv.sh":
-  ensure => present,
-  source => "file:///vagrant/puppet/files/virtualenv.sh"
-;
-  "/etc/profile.d/alias.sh":
-  ensure => present,
-  source => "file:///vagrant/puppet/files/alias.sh"
-;
-}
-}
-
-include baseconfig
-include ec2stack
-include rpmrepos::epel
-include rpmrepos::rpmforge

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/LICENSE.md
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/LICENSE.md b/puppet/modules/rpmrepos/LICENSE.md
deleted file mode 100644
index 2cc3438..0000000
--- a/puppet/modules/rpmrepos/LICENSE.md
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright [2013] [Chad Metcalf]
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/Modulefile
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/Modulefile b/puppet/modules/rpmrepos/Modulefile
deleted file mode 100644
index 46cd42a..0000000
--- a/puppet/modules/rpmrepos/Modulefile
+++ /dev/null
@@ -1,8 +0,0 @@
-name    'metcalfc-rpmrepos'
-version '0.0.1'
-source 'http://github.com/metcalfc/puppet-rpmrepos'
-author 'metcalfc'
-license 'Apache License, Version 2.0'
-summary 'Setup 3rd party RPM repos'
-description 'Setup the various third party repos on Centos/RHEL et all'
-project_page 'http://github.com/metcalfc/puppet-rpmrepos'

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/README.md
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/README.md b/puppet/modules/rpmrepos/README.md
deleted file mode 100644
index e2e3ad4..0000000
--- a/puppet/modules/rpmrepos/README.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# History
-
-Michael Stahnke wrote [puppet-module-epel](https://github.com/stahnma/puppet-module-epel).
-Lee Boynton followed up with [puppet-rpmforge](https://github.com/lboynton/puppet-rpmforge)
-which has a dependancy on `puppet-module-epel` for a fact and rpm key
-importing.
-
-It seems like managing third party repos is a common task. If we're going to
-have a cross module dependancy we might as well merge the modules.
-
-# Why?
-
-EPEL and RepoForge are two common third party RPM repositories. To parrot
-Michael Stahnke,  "I just got sick of coding Puppet modules and basically
-having an assumption that EPEL was setup or installed.  I can now depend on
-this module instead."
-
-There are also some packages which don't play nicely between the two
-(nagios-plugins comes to mind) and when possible that has been captured here.
-
-# Configure EPEL (Extra Repository for Enterprise Linux)
-
-`include rpmrepos::epel`
-
-## About
-This module basically just mimics the epel-release rpm. The same
-repos are enabled/disabled and the GPG key is imported.  In the end you will
-end up with the EPEL repos configured.
-
-The following Repos will be setup and enabled by default:
-
-  * epel
-
-Other repositories that will setup but disabled (as per the epel-release
-setup)
-
-  * epel-debuginfo
-  * epel-source
-  * epel-testing
-  * epel-testing-debuginfo
-  * epel-testing-source
-
-You can enable them using class parameters (`testing => true`).
-
-## Proxy
-If you have an http proxy required to access the internet, you can
-use the $proxy variable in the class parameters. If it is set to a value other
-than 'absent' a proxy will be setup with each repository.  Note that otherwise
-each of the repos will fall back to settings in the /etc/yum.conf file.
-
-# Configure RepoForge
-
-`include rpmrepos::rpmforge`
-
-## About
-This module basically just mimics the rpmforge-release rpm. The same
-repos are enabled/disabled and the GPG key is imported.  In the end you will
-end up with the RepoForge (aka RPMForge) repos configured.
-
-The following Repos will be setup and enabled by default:
-
-  * rpmforge
-
-Other repositories that will setup but disabled (as per the rpmforge-release
-setup)
-
-  * rpmforge-extras
-  * rpmforge-testing
-
-You can enable them using class parameters (`testing => '1'`).
-
-## Proxy
-If you have an http proxy required to access the internet, you can
-use the $proxy variable in the class parameters. If it is set to a value other
-than 'absent' a proxy will be setup with each repository.  Note that otherwise
-each of the repos will fall back to settings in the /etc/yum.conf file.
-
-# Futher Information
-
-* [EPEL Wiki](http://fedoraproject.org/wiki/EPEL)
-* [epel-release package information](http://mirrors.servercentral.net/fedora/epel/6/i386/repoview/epel-release.html)
-* [RepoForge](http://repoforge.org/use/)
-
-# Testing
-
-* This was tested using Puppet 2.7.x on Centos5/6 I assume it will work on any
-* RHEL variant Also, I think this should work with earlier versions of Puppet
-* (2.6.x at least)
-
-# License Apache Software License 2.0

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-5
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-5 b/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-5
deleted file mode 100644
index 5a13bb4..0000000
--- a/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-5
+++ /dev/null
@@ -1,30 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-mQGiBEXopTIRBACZDBMOoFOakAjaxw1LXjeSvh/kmE35fU1rXfM7T0AV31NATCLF
-l5CQiNDA4oWreDThg2Bf6+LIVTsGQb1V+XXuLak4Em5yTYwMTVB//4/nMxQEbpl/
-QB2XwlJ7EQ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5wZczIE3hx2exEOkDdvq+MUDVD1
-axmN45q/7h1NYRp5GQL2ZsoV4g9U2gMdzHOFtZCER6PP9ErVlfJpgBUCdSL93V4H
-Sgpkk7znmTOklbCM6l/G/A6q4sCRqfzHwVSTiruyTBiU9lfROsAl8fjIq2OzWJ2T
-P9sadBe1llUYaow7txYSUxssW+89avct35gIyrBbof5M+CBXyAOUaSWmpM2eub24
-0qbqiSr/Y6Om0t6vSzR8gRk7g+1H6IE0Tt1IJCvCAMimiE8EGBECAA8FAkXopTYC
-GwwFCRLMAwAACgkQEZzANiF1IfZQYgCgiZHCv4xb+sTHCn/otc1Ovvi/OgMAnRXY
-bbsLFWOfmzAnNIGvFRWy+YHi
-=MMNL
------END PGP PUBLIC KEY BLOCK-----

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-6
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-6 b/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-6
deleted file mode 100644
index 7a20304..0000000
--- a/puppet/modules/rpmrepos/files/RPM-GPG-KEY-EPEL-6
+++ /dev/null
@@ -1,29 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-mQINBEvSKUIBEADLGnUj24ZVKW7liFN/JA5CgtzlNnKs7sBg7fVbNWryiE3URbn1
-JXvrdwHtkKyY96/ifZ1Ld3lE2gOF61bGZ2CWwJNee76Sp9Z+isP8RQXbG5jwj/4B
-M9HK7phktqFVJ8VbY2jfTjcfxRvGM8YBwXF8hx0CDZURAjvf1xRSQJ7iAo58qcHn
-XtxOAvQmAbR9z6Q/h/D+Y/PhoIJp1OV4VNHCbCs9M7HUVBpgC53PDcTUQuwcgeY6
-pQgo9eT1eLNSZVrJ5Bctivl1UcD6P6CIGkkeT2gNhqindRPngUXGXW7Qzoefe+fV
-QqJ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gxGb2paQOzqqpOcHKvlyLuzO5uybMXaipLExTGJXBlXrbbASfXa/yGYSAG
-iVrGz9CE6676dMlm8F+s3XXE13QZrXmjloc6jwOljnfAkjTGXjiB7OULESed96MR
-XtfLk0W5Ab9pd7tKDR6QHI7rgHXfCopRnZ2VVQ==
-=V/6I
------END PGP PUBLIC KEY BLOCK-----

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/files/RPM-GPG-KEY-rpmforge-dag
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/files/RPM-GPG-KEY-rpmforge-dag b/puppet/modules/rpmrepos/files/RPM-GPG-KEY-rpmforge-dag
deleted file mode 100644
index 8ee27f4..0000000
--- a/puppet/modules/rpmrepos/files/RPM-GPG-KEY-rpmforge-dag
+++ /dev/null
@@ -1,32 +0,0 @@
-The following public key can be used to verify RPM packages
-downloaded from  http://dag.wieers.com/apt/  using 'rpm -K'
-if you have the GNU GPG package.
-Questions about this key should be sent to:
-Dag Wieers <dag@wieers.com>
-
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.2.1 (GNU/Linux)
-
-mQGiBD9JMT0RBAC9Q2B0AloUMTxaK73sD0cOu1MMdD8yuDagbMlDtUYA1aGeJVO6
-TV02JLGr67OBY+UkYuC1c3PUwmb3+jakZd5bW1L8E2L705wS0129xQOZPz6J+alF
-5rTzVkiefg8ch1yEcMayK20NdyOmhDGXQXNQS8OJFLTIC6bJs+7MZL83/wCg3cG3
-3q7MWHm3IpJb+6QKpB9YH58D/2WjPDK+7YIky/JbFBT4JPgTSBy611+bLqHA6PXq
-39tzY6un8KDznAMNtm+NAsr6FEG8PHe406+tbgd7tBkecz3HPX8nR5v0JtDT+gzN
-8fM3kAiAzjCHUAFWVAMAZLr5TXuoq4lGTTxvZbwTjZfyjCm7gIieCu8+qnPWh6hm
-30NgA/0ZyEHG6I4rOWqPks4vZuD+wlp5XL8moBXEKfEVOMh2MCNDRGnvVHu1P3eD
-oHOooVMt9sWrGcgxpYuupPNL4Uf6B6smiLlH6D4tEg+qCxC17zABI5572XJTJ170
-JklZJrPGtnkPrrKMamnN9MU4RjGmjh9JZPa7rKjZHyWP/z/CBrQ1RGFnIFdpZWVy
-cyAoRGFnIEFwdCBSZXBvc2l0b3J5IHYxLjApIDxkYWdAd2llZXJzLmNvbT6IWQQT
-EQIAGQUCP0kxPQQLBwMCAxUCAwMWAgECHgECF4AACgkQog5SFGuNeeYvDQCeKHST
-hIq/WzFBXtJOnQkJGSqAoHoAnRtsJVWYmzYKHqzkRx1qAzL18Sd0iEYEEBECAAYF
-Aj9JMWAACgkQoj2iXPqnmevnOACfRQaageMcESHVE1+RSuP3txPUvoEAoJAtOHon
-g+3SzVNSZLn/g7/Ljfw+uQENBD9JMT8QBACj1QzRptL6hbpWl5DdQ2T+3ekEjJGt
-llCwt4Mwt/yOHDhzLe8SzUNyYxTXUL4TPfFvVW9/j8WOkNGvffbs7g84k7a5h/+l
-IJTTlP9V9NruDt1dlrBe+mWF6eCY55OFHjb6nOIkcJwKxRd3nGlWnLsz0ce9Hjrg
-6lMrn0lPsMV6swADBQP9H42sss6mlqnJEFA97Fl3V9s+7UVJoAIA5uSVXxEOwVoh
-Vq7uECQRvWzif6tzOY+vHkUxOBRvD6oIU6tlmuG3WByKyA1d0MTqMr3eWieSYf/L
-n5VA9NuD7NwjFA1kLkoDwfSbsF51LppTMkUggzwgvwE46MB6yyuqAVI1kReAWw+I
-RgQYEQIABgUCP0kxPwAKCRCiDlIUa4155oktAKDAzm9QYbDpk6SrQhkSFy016BjE
-BACeJU1hpElFnUZCL4yKj4EuLnlo8kc=
-=mqUt
------END PGP PUBLIC KEY BLOCK-----

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/lib/facter/os_maj_version.rb
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/lib/facter/os_maj_version.rb b/puppet/modules/rpmrepos/lib/facter/os_maj_version.rb
deleted file mode 100644
index 9f90d1d..0000000
--- a/puppet/modules/rpmrepos/lib/facter/os_maj_version.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# This is a simple fact to get the Major version of an OS without having to
-# have the entire LSB suite installed.  LSB seems to pull in about 300 megs of
-# stuff I often don't require. This fact is quick to load so it shouldn't be
-# much of an issue.
-
-Facter.add(:os_maj_version) do
-  v = Facter.value(:operatingsystemrelease)
-  setcode do
-    v.split('.')[0].strip
-  end
-end

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/manifests/epel.pp
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/manifests/epel.pp b/puppet/modules/rpmrepos/manifests/epel.pp
deleted file mode 100644
index aa79be9..0000000
--- a/puppet/modules/rpmrepos/manifests/epel.pp
+++ /dev/null
@@ -1,96 +0,0 @@
-# Class epel
-#
-# Actions:
-#   Configure the proper repositories and import GPG keys
-#
-# Reqiures:
-#   You should probably be on an Enterprise Linux variant. (Centos, RHEL, Scientific, Oracle,
Ascendos, et al)
-#
-# Sample Usage:
-#  include rpmrepos::epel
-#
-class rpmrepos::epel ($testing           = '0',
-$testing_debuginfo = '0',
-$testing_source    = '0',
-$debuginfo         = '0',
-$source            = '0',
-$proxy             = 'absent') {
-
-if $::osfamily == 'RedHat' and $::operatingsystem != 'Fedora' {
-
-yumrepo { 'epel-testing':
-  baseurl        => "http://download.fedora.redhat.com/pub/epel/testing/${::os_maj_version}/${::architecture}",
-  failovermethod => 'priority',
-  proxy          => $rpmrepos::epel::proxy,
-  enabled        => $rpmrepos::epel::testing,
-  gpgcheck       => '1',
-  gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-  descr          => "Extra Packages for Enterprise Linux ${::os_maj_version} - Testing
- ${::architecture} "
-}
-
-yumrepo { 'epel-testing-debuginfo':
-  baseurl        => "http://download.fedora.redhat.com/pub/epel/testing/${::os_maj_version}/${::architecture}/debug",
-  failovermethod => 'priority',
-  proxy          => $rpmrepos::epel::proxy,
-  enabled        => $rpmrepos::epel::testing_debuginfo,
-  gpgcheck       => '1',
-  gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-  descr          => "Extra Packages for Enterprise Linux ${::os_maj_version} - Testing
- ${::architecture} - Debug"
-}
-
-yumrepo { 'epel-testing-source':
-  baseurl        => "http://download.fedora.redhat.com/pub/epel/testing/${::os_maj_version}/SRPMS",
-  failovermethod => 'priority',
-  proxy          => $rpmrepos::epel::proxy,
-  enabled        => $rpmrepos::epel::testing_source,
-  gpgcheck       => '1',
-  gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-  descr          => "Extra Packages for Enterprise Linux ${::os_maj_version} - Testing
- ${::architecture} - Source"
-}
-
-yumrepo { 'epel':
-  mirrorlist     => "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-${::os_maj_version}&arch=${::architecture}",
-  failovermethod => 'priority',
-  proxy          => $rpmrepos::epel::proxy,
-  enabled        => '1',
-  gpgcheck       => '1',
-  gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-  descr          => "Extra Packages for Enterprise Linux ${::os_maj_version} - ${::architecture}"
-}
-
-yumrepo { 'epel-debuginfo':
-  mirrorlist     => "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-${::os_maj_version}&arch=${::architecture}",
-  failovermethod => 'priority',
-  proxy          => $rpmrepos::epel::proxy,
-  enabled        => $rpmrepos::epel::debuginfo,
-  gpgcheck       => '1',
-  gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-  descr          => "Extra Packages for Enterprise Linux ${::os_maj_version} - ${::architecture}
- Debug"
-}
-
-yumrepo { 'epel-source':
-  mirrorlist     => "http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-${::os_maj_version}&arch=${::architecture}",
-  proxy          => $rpmrepos::epel::proxy,
-  failovermethod => 'priority',
-  enabled        => $rpmrepos::epel::source,
-  gpgcheck       => '1',
-  gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-  descr          => "Extra Packages for Enterprise Linux ${::os_maj_version} - ${::architecture}
- Source"
-}
-
-file { "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}":
-  ensure => present,
-  owner  => 'root',
-  group  => 'root',
-  mode   => '0644',
-  source => "puppet:///modules/rpmrepos/RPM-GPG-KEY-EPEL-${::os_maj_version}",
-}
-
-rpmrepos::rpm_gpg_key{ "EPEL-${::os_maj_version}":
-  path => "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-${::os_maj_version}"
-}
-} else {
-notice ("Your operating system ${::operatingsystem} will not have the EPEL repository applied")
-}
-
-}

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/manifests/init.pp
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/manifests/init.pp b/puppet/modules/rpmrepos/manifests/init.pp
deleted file mode 100644
index 45957f0..0000000
--- a/puppet/modules/rpmrepos/manifests/init.pp
+++ /dev/null
@@ -1,20 +0,0 @@
-# Class rpmrepos
-#
-# Actions:
-#   Configure the proper repositories and import GPG keys
-#
-# Requires:
-#   You should probably be on an Enterprise Linux variant. (Centos, RHEL, 
-#    Scientific, Oracle, Ascendos, et al)
-#
-# Sample Usage:
-#  include rpmrepos
-#
-# Basic usage doesn't allow for specific repository selection or proxies.
-# If you need them use the classes directly.
-class rpmrepos {
-
-require rpmrepos::epel
-require rpmrepos::rpmforge
-
-}

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/manifests/rpm_gpg_key.pp
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/manifests/rpm_gpg_key.pp b/puppet/modules/rpmrepos/manifests/rpm_gpg_key.pp
deleted file mode 100644
index d3d698a..0000000
--- a/puppet/modules/rpmrepos/manifests/rpm_gpg_key.pp
+++ /dev/null
@@ -1,10 +0,0 @@
-define rpmrepos::rpm_gpg_key($path) {
-# Given the path to a key, see if it is imported, if not, import it
-exec {  "import-$name":
-  path      => '/bin:/usr/bin:/sbin:/usr/sbin',
-  command   => "rpm --import $path",
-  unless    => "rpm -q gpg-pubkey-$(echo $(gpg --throw-keyids < $path) | cut --characters=11-18
| tr [A-Z] [a-z])",
-  require   => File[$path],
-  logoutput => 'on_failure',
-}
-}

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/manifests/rpmforge.pp
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/manifests/rpmforge.pp b/puppet/modules/rpmrepos/manifests/rpmforge.pp
deleted file mode 100644
index 2187433..0000000
--- a/puppet/modules/rpmrepos/manifests/rpmforge.pp
+++ /dev/null
@@ -1,57 +0,0 @@
-# Class rpmforge
-#
-# Actions:
-#   Configure the proper repositories and import GPG keys
-#
-# Reqiures:
-#   You should probably be on an Enterprise Linux variant. (Centos, RHEL, Scientific, Oracle,
Ascendos, et al)
-#
-# Sample Usage:
-#  include rpmrepos::rpmforge
-#
-class rpmrepos::rpmforge ($testing = '0',
-$extras  = '0',
-$proxy   = 'absent') {
-yumrepo { 'rpmforge':
-  baseurl     => "http://apt.sw.be/redhat/el${::os_maj_version}/en/${::architecture}/rpmforge/",
-  mirrorlist  =>  "http://apt.sw.be/redhat/el${::os_maj_version}/en/mirrors-rpmforge",
-  proxy       => $rpmrepos::rpmforge::proxy,
-  enabled     => 1,
-  gpgcheck    => 1,
-  exclude    => ['nagios-plugins-*'],
-  gpgkey      => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag',
-  descr       => "Rpmforge - ${::os_maj_version} - ${::architecture} "
-}
-
-yumrepo { 'rpmforge-extras':
-  baseurl     => "http://apt.sw.be/redhat/el${::os_maj_version}/en/${::architecture}/extras/",
-  mirrorlist  =>  "http://apt.sw.be/redhat/el${::os_maj_version}/en/mirrors-rpmforge-extras",
-  proxy       => $rpmrepos::rpmforge::proxy,
-  enabled     => $rpmrepos::rpmforge::extras,
-  gpgcheck    => 1,
-  gpgkey      => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag',
-  descr       => "Rpmforge - ${::os_maj_version} - Extras - ${::architecture}"
-}
-
-yumrepo { 'rpmforge-testing':
-  baseurl     => "http://apt.sw.be/redhat/el${::os_maj_version}/en/${::architecture}/testing/",
-  mirrorlist  =>  "http://apt.sw.be/redhat/el${::os_maj_version}/en/mirrors-rpmforge-testing",
-  proxy       => $rpmrepos::rpmforge::proxy,
-  enabled     => $rpmrepos::rpmforge::testing,
-  gpgcheck    => 1,
-  gpgkey      => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag',
-  descr       => "Rpmforge - ${::os_maj_version} - Testing - ${::architecture}"
-}
-
-file { "/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag":
-  ensure => present,
-  owner  => 'root',
-  group  => 'root',
-  mode   => '0644',
-  source => "puppet:///modules/rpmrepos/RPM-GPG-KEY-rpmforge-dag",
-}
-
-rpmrepos::rpm_gpg_key{ "rpmforge-dag":
-  path => "/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag",
-}
-}

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/metadata.json
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/metadata.json b/puppet/modules/rpmrepos/metadata.json
deleted file mode 100644
index 0c2ecaf..0000000
--- a/puppet/modules/rpmrepos/metadata.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
-    "name": "metcalfc-rpmrepos",
-    "version": "0.0.1",
-    "source": "http://github.com/metcalfc/puppet-rpmrepos",
-    "author": "metcalfc",
-    "license": "Apache License, Version 2.0",
-    "summary": "Setup 3rd party RPM repos",
-    "description": "Setup the various third party repos on Centos/RHEL et all",
-    "project_page": "http://github.com/metcalfc/puppet-rpmrepos",
-    "dependencies": [
-
-    ],
-    "types": [
-
-    ],
-    "checksums": {
-        "LICENSE.md": "defb4db0e0909b7bf4cda51cd88ff708",
-        "Modulefile": "7b8a9d9f63183c0a180814b08c489516",
-        "README.md": "5324ba52be3c3b12905db3fffad4670b",
-        "files/RPM-GPG-KEY-EPEL-5": "0466c259781def56dafe0a2cdc9de0c5",
-        "files/RPM-GPG-KEY-EPEL-6": "d865e6b948a74cb03bc3401c0b01b785",
-        "files/RPM-GPG-KEY-rpmforge-dag": "a44f72c72b873d0f8f3021690bb3e52f",
-        "lib/facter/os_maj_version.rb": "0f19c87eca831a094fe83b1a79937b76",
-        "manifests/epel.pp": "df77b78a5eda939de066475ad7dd395f",
-        "manifests/init.pp": "69c80de477dce309f3f43d48ba516851",
-        "manifests/rpm_gpg_key.pp": "e2da85d84dc3c1eb88408b2907e07771",
-        "manifests/rpmforge.pp": "80203fa2ac453f3b00e2ca541688400c",
-        "tests/init.pp": "cfedfc8a0f1929b0e04d15c2b70835d1"
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/4d30d0e8/puppet/modules/rpmrepos/tests/init.pp
----------------------------------------------------------------------
diff --git a/puppet/modules/rpmrepos/tests/init.pp b/puppet/modules/rpmrepos/tests/init.pp
deleted file mode 100644
index 4aaf0ee..0000000
--- a/puppet/modules/rpmrepos/tests/init.pp
+++ /dev/null
@@ -1,3 +0,0 @@
-# And by test, I mean, run this thing for me using Puppet apply and I'll check
-# it out.
-include 'rpmrepos'


Mime
View raw message