]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
fix documentation for parameter $proxy['port'] in class apt
authorAnselm Eberhardt <aeberhardt@dg-i.net>
Wed, 30 Aug 2017 09:01:43 +0000 (11:01 +0200)
committerAnselm Eberhardt <aeberhardt@dg-i.net>
Wed, 30 Aug 2017 09:01:43 +0000 (11:01 +0200)
Documentation says 'port' should be a string. init.pp checks for type
integer.

README.md

index 98dcc2ce4fd6068b2cf92e1c93c8e58347ac953c..35b097d0ad31655dba96becdd1ee4b6094187651 100644 (file)
--- a/README.md
+++ b/README.md
@@ -279,7 +279,7 @@ Main class, includes all other classes.
 
   * 'host': Specifies a proxy host to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: a string containing a hostname. Default: undef.
 
-  * 'port': Specifies a proxy port to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: a string containing a port number. Default: '8080'.
+  * 'port': Specifies a proxy port to be stored in `/etc/apt/apt.conf.d/01proxy`. Valid options: an integer containing a port number. Default: 8080.
 
   * 'https': Specifies whether to enable https proxies. Valid options: 'true' and 'false'. Default: 'false'.