Browse Source

apt::setting expects priority to be an integer, set defaults accordingly

Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
Mathias Merscher 8 years ago
parent
commit
e5d5123521
2 changed files with 2 additions and 2 deletions
  1. 1 1
      manifests/conf.pp
  2. 1 1
      manifests/pin.pp

+ 1 - 1
manifests/conf.pp

@@ -1,7 +1,7 @@
 define apt::conf (
 define apt::conf (
   $content       = undef,
   $content       = undef,
   $ensure        = present,
   $ensure        = present,
-  $priority      = '50',
+  $priority      = 50,
   $notify_update = undef,
   $notify_update = undef,
 ) {
 ) {
 
 

+ 1 - 1
manifests/pin.pp

@@ -4,7 +4,7 @@
 define apt::pin(
 define apt::pin(
   $ensure          = present,
   $ensure          = present,
   $explanation     = undef,
   $explanation     = undef,
-  $order           = undef,
+  $order           = 50,
   $packages        = '*',
   $packages        = '*',
   $priority        = 0,
   $priority        = 0,
   $release         = '', # a=
   $release         = '', # a=