diff --git a/deployment_scripts/puppet/manifests/install.pp b/deployment_scripts/puppet/manifests/install.pp index 8d27e2f..b97d662 100644 --- a/deployment_scripts/puppet/manifests/install.pp +++ b/deployment_scripts/puppet/manifests/install.pp @@ -30,10 +30,21 @@ package {'python-manila-ui': class {'::manila_auxiliary::fs': } +file {'/etc/apt/preferences.d/fuel-plugin-manila.pref': + source => 'puppet:///modules/manila_auxiliary/fuel-plugin-manila.pref', + owner => 'root', + group => 'root' +} + +class {'::apt::update': } + + Package['python-pip']-> Package['python-dev']-> Package['python-pymysql']-> Package['pycrypto']-> +File['/etc/apt/preferences.d/fuel-plugin-manila.pref']-> +Class['::apt::update']-> Package['python-manila']-> Package['python-manilaclient']-> Package['python-manila-ui'] diff --git a/deployment_scripts/puppet/modules/manila_auxiliary/files/fuel-plugin-manila.pref b/deployment_scripts/puppet/modules/manila_auxiliary/files/fuel-plugin-manila.pref new file mode 100644 index 0000000..4c8d0ec --- /dev/null +++ b/deployment_scripts/puppet/modules/manila_auxiliary/files/fuel-plugin-manila.pref @@ -0,0 +1,5 @@ +# This file is managed by Puppet. DO NOT EDIT. +Explanation: fuel-plugin-manila +Package: * +Pin: release a=fuel-plugin-manila, n=fuel-plugin-manila, o=Mirantis, l=fuel-plugin-manila +Pin-Priority: 1250