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 @@ -302,6 +302,12 @@ python::python_pips:
302
302
virtualenv : " /opt/env1"
303
303
" coverage " :
304
304
virtualenv : " /opt/env2"
305
+ python::python_dotfiles :
306
+ " /var/lib/jenkins/.pip/pip.conf " :
307
+ config :
308
+ global :
309
+ index-url : " https://mypypi.acme.com/simple/"
310
+ extra-index-url : " https://pypi.risedev.at/simple/"
305
311
` ` `
306
312
307
313
### 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