Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #572 from twc-openstack/master-tempfile-race-condition
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
setting.pp
diff --git
a/manifests/setting.pp
b/manifests/setting.pp
index d723eb2c53103b0db61f7a3bf3155620d90ace90..b0fb62b1debd8fb5d90c1f86cb0f0bdc5e778a7f 100644
(file)
--- a/
manifests/setting.pp
+++ b/
manifests/setting.pp
@@
-37,7
+37,7
@@
define apt::setting (
validate_string($content)
}
validate_string($content)
}
- if
$setting_type == 'list'
{
+ if
($setting_type == 'list') or ($setting_type == 'pref')
{
$_priority = ''
} else {
$_priority = $priority
$_priority = ''
} else {
$_priority = $priority