diff --git a/manifests/site.pp b/manifests/site.pp index d27ad33c27..82308b91cd 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -657,6 +657,9 @@ node 'nodepool.openstack.org' { $hpcloud_username = hiera('nodepool_hpcloud_username', 'username') $hpcloud_password = hiera('nodepool_hpcloud_password') $hpcloud_project = hiera('nodepool_hpcloud_project', 'project') + $internap_username = hiera('nodepool_internap_username', 'username') + $internap_password = hiera('nodepool_internap_password') + $internap_project = hiera('nodepool_internap_project', 'project') $ovh_username = hiera('nodepool_ovh_username', 'username') $ovh_password = hiera('nodepool_ovh_password') $ovh_project = hiera('nodepool_ovh_project', 'project') diff --git a/modules/openstack_project/templates/nodepool/clouds.yaml.erb b/modules/openstack_project/templates/nodepool/clouds.yaml.erb index 6a8db8ed42..3d81bfcb41 100644 --- a/modules/openstack_project/templates/nodepool/clouds.yaml.erb +++ b/modules/openstack_project/templates/nodepool/clouds.yaml.erb @@ -37,3 +37,10 @@ clouds: password: '<%= bluebox_password %>' project_name: '<%= bluebox_project %>' auth_url: 'https://montytaylor-sjc.openstack.blueboxgrid.com:5001/v2.0' + internap: + profile: internap + region_name: nyj01 + auth: + username: '<%= internap_username %>' + password: '<%= internap_password %>' + project_name: '<%= internap_project %>'