ppouliot / puppet-openstack_hyper_v

A starting point for building Windows/Hyper-V OpenStack Compute nodes
Other
6 stars 4 forks source link

First version of openstack_hyper_v to align with stackforge/puppet-openstack #48

Open luisfdez opened 10 years ago

luisfdez commented 10 years ago

Hi,

This PR does the refactor of the module to follow the new service per module approach. Again, it follows stackforge style and structure to make a future merge easier.

Now, it only provides a compute.pp class to configure nova compute on hyperv. This calls nova_hyper_v components.

I didn't check intensively if the interface is backwards compatible with previous version of the module.

I have to clean a bit more, testing, documentation, but the main content is this one.

Example:

    class {'openstack_hyper_v::compute':
      # Required Network
      internal_address       => $fqdn,
      # Rabbit (*)
      rabbit_host            => 'rabbit-host',
      rabbit_password        => hiera('rabbit_password'),
      rabbit_user            => 'nova',
      rabbit_virtual_host    => '/',
      # Glance
      glance_api_servers     => 'glance-server:9393',
      # General
      verbose                => true,
      debug                  => true,
      enabled                => true,
      nova_version           => "2013.2.1",
      migration_support      => true,
      virtual_switch_address => inline_template("<%= require 'resolv'; Resolv.new.getaddress(@fqdn)%>"),
      hyperv_service_user    => 'DOMAIN\service-user',
      hyperv_service_pass    => hiera('hyperv_service_pass', ''),
    }
ppouliot commented 10 years ago

This should be merged sooner than later. We need to validate that we're not going to break any of our existing bits for the CI. Which I do not think we will. That being said, let me verify and we can move forward asap.

p

benh57 commented 10 years ago

Would love to see this integrated.

luisfdez commented 10 years ago

@benh57, if you're interested in this PR, you can use it from my fork until it's merged in the master repo.

Feedback & issues are welcome :)