add explicit apt preferences

Change-Id: I71b4e33790deb62010c0aaa30b0f7345028ce178
This commit is contained in:
Igor Gajsin 2016-09-23 18:17:53 +03:00
parent e279087704
commit 9901bb7d19
2 changed files with 16 additions and 0 deletions

View File

@ -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']

View File

@ -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