Order of the class parameters is refactored
Order and intendation of those parameters are changed to follow Puppet Style Guide recommendation [0]. Moreover, it will allow to an user to find much faster a variable in a list of variables. [0]. https://docs.puppetlabs.com/guides/style_guide.html Change-Id: I1c319006878007d9d93a201a40c70843fa1bcf21
This commit is contained in:
parent
7959d3d4ca
commit
63ef1497e2
@ -1,10 +1,10 @@
|
||||
# Class: pip
|
||||
#
|
||||
class pip (
|
||||
$index_url = 'https://pypi.python.org/simple',
|
||||
$trusted_hosts = [],
|
||||
$manage_pip_conf = false,
|
||||
$index_url = 'https://pypi.python.org/simple',
|
||||
$manage_pip_conf = false,
|
||||
$optional_settings = {},
|
||||
$trusted_hosts = [],
|
||||
) {
|
||||
include ::pip::params
|
||||
validate_array($trusted_hosts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user