specify DVER when using add_main_repository

To support both RH6.5 & RH7, we need to add a new option when using the
add_main_repository function.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
WIP to support CentOS 7
cloud.install: back to instaling cloud-init from epel for CentOS
openstack-full: get it to build for CentOS7 but some packages are missing
Merge remote-tracking branch 'origin/master' into RH7.0

* origin/master: (36 commits)
  Re-enable logcollector: By pass a current bug in fluentd
  Red Hat: use CODENAME_MAJOR in all conditions
  Revert logcollector: By pass a current bug in fluentd
  Do not use get_redhat_major_version anymore
  I.1.1.0/upgrade: restart some OpenStack services during upgrade
  logcollector: By pass a current bug in fluentd
  I.1.1.0/upgrade: cleanup pacemaker on before_config tag
  I.1.1.0/upgrade: stop heat-engine before delete pacemaker resource
  I.1.1.0/upgrade: fix HAproxy binding after eDeploy upgrade
  I.1.1.0/upgrade/install-server: fix ssh folder permissions after upgrade
  install-server: Adding python-pandas for ahc
  I.1.1.0/upgrades: fix loadbalancer stop service
  I.1.1.0/install-server: copy ssh keys to /var/lib/jenkins
  I.1.1.0: pull out loadbalancer from cluster before upgrade
  I.1.1.0/upgrade: restart mysql
  logcollect: solve dependencies
  logcollector: add missing dependencies
  I.1.1.0/upgrade/edeploy: use wget to download last roles
  I.1.1.0/upgrade/install-server: add missing parameter
  I.1.1.0/upgrade/install: add $distro param to be more flexible
  ...

Solved conflicts:
	cloud.install
	openstack-common.install
	openstack-full.install
openstack-full: fix build on CentOS7
cloud: make the datasource_list config filename distro agnostic
logcollector: fix duplicated code between repositories and functions and
btw fix build under CentOS 7.
tempest: support yum based distro
jenkins: support yum based distro
puppet-master: add suport for CentOS 7
install-server: fix build under CentOS 7
cloud: fix build under Debian and WIP for RHEL7
devstack: fix build
openstack-full: fix CentOS7 support
openstack-common: first shot to support RHEL7
Merge branch 'RH7.0'

* RH7.0:
  openstack-common: first shot to support RHEL7
  openstack-full: fix CentOS7 support
  devstack: fix build
  cloud: fix build under Debian and WIP for RHEL7
  install-server: fix build under CentOS 7
  puppet-master: add suport for CentOS 7
  jenkins: support yum based distro
  tempest: support yum based distro
  logcollector: fix duplicated code between repositories and functions and btw fix build under CentOS 7.
  cloud: make the datasource_list config filename distro agnostic
  openstack-full: fix build on CentOS7
  openstack-full: get it to build for CentOS7 but some packages are missing
  cloud.install: back to instaling cloud-init from epel for CentOS
  WIP to support CentOS 7
  specify DVER when using add_main_repository

Fixed conflicts:
	cloud.install
	devstack.install
	functions
	openstack-common.install
	openstack-full.install
	tempest.install
Merge remote-tracking branch 'origin/master'

* origin/master:
  *: Avoiding implicit parameters on rhn calls

Fixed conflicts:
	cloud.install
	openstack-common.install