Skip to content

Commit

Permalink
Merge pull request #153 from aschaber1/feature/enable_python_index
Browse files Browse the repository at this point in the history
add parameter for virtualenv index
  • Loading branch information
sacres authored Jan 5, 2017
2 parents 4926d32 + 8ee81ed commit 486d7c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
# (string) HTTP proxy server to use for pip/virtualenv.
# Defaults to false ($::puppetboard::params::python_proxy)
#
# [*python_index*]
# (string) HTTP index server to use for pip/virtualenv.
# Defaults to false ($::puppetboard::params::python_index)
#
# [*default_environment*]
# (string) set the default environment
# Defaults to production ($::puppetboard::params::default_environment
Expand Down Expand Up @@ -168,6 +172,7 @@
$localise_timestamp = $::puppetboard::params::localise_timestamp,
$python_loglevel = $::puppetboard::params::python_loglevel,
$python_proxy = $::puppetboard::params::python_proxy,
$python_index = $::puppetboard::params::python_index,
$experimental = $::puppetboard::params::experimental,
$revision = $::puppetboard::params::revision,
$manage_selinux = $::puppetboard::params::manage_selinux,
Expand Down Expand Up @@ -270,6 +275,7 @@
cwd => "${basedir}/puppetboard",
require => Vcsrepo["${basedir}/puppetboard"],
proxy => $python_proxy,
index => $python_index,
}

if $listen == 'public' {
Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
$offline_mode = false
$python_loglevel = 'info'
$python_proxy = false
$python_index = false
$reports_count = '10'
$experimental = false
$revision = undef
Expand Down

0 comments on commit 486d7c2

Please sign in to comment.