Add python-numpy package

python-numpy is a dependecy for novnc.

This commit adds the package resource to the
vncproxy class.
This commit is contained in:
Dan Bode 2012-04-24 18:37:36 -07:00
parent 4deb50ebae
commit e09fdca139
2 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,10 @@ class nova::vncproxy(
require git
package { 'python-numpy':
ensure => present,
}
nova_config { 'novncproxy_base_url': value => $novncproxy_base_url }
package{ "noVNC":

View File

@ -11,6 +11,8 @@ describe 'nova::vncproxy' do
{ :osfamily => 'Debian' }
end
it { should contain_package('python-numpy').with_ensure('present') }
it { should contain_nova_config('novncproxy_base_url').with(
:value => 'http://127.0.0.1:6080/vnc_auto.html'
)}