File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,12 @@ python::python_pips:
303
303
virtualenv : " /opt/env1"
304
304
" coverage " :
305
305
virtualenv : " /opt/env2"
306
+ python::python_dotfiles :
307
+ " /var/lib/jenkins/.pip/pip.conf " :
308
+ config :
309
+ global :
310
+ index-url : " https://mypypi.acme.com/simple/"
311
+ extra-index-url : " https://pypi.risedev.at/simple/"
306
312
` ` `
307
313
308
314
### Using SCL packages from RedHat or CentOS
Original file line number Diff line number Diff line change 81
81
$python_virtualenvs = { },
82
82
$python_pyvenvs = { },
83
83
$python_requirements = { },
84
+ $python_dotfiles = { },
84
85
$use_epel = $python::params::use_epel ,
85
86
$rhscl_use_public_repository = $python::params::rhscl_use_public_repository ,
86
87
) inherits python::params{
123
124
validate_re($gunicorn , [' ^(absent|present|latest)$' ])
124
125
}
125
126
127
+ validate_hash($python_dotfiles )
126
128
validate_bool($manage_gunicorn )
127
129
validate_bool($use_epel )
128
130
143
145
create_resources(' python::pyvenv' , $python_pyvenvs )
144
146
create_resources(' python::virtualenv' , $python_virtualenvs )
145
147
create_resources(' python::requirements' , $python_requirements )
148
+ create_resources(' python::dotfile' , $python_dotfiles )
146
149
147
150
}
You can’t perform that action at this time.
0 commit comments