Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c2b052a1
authored
Jun 20, 2017
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
changed pip upgrade strategy to only upgrade base package, not deps
parent
098bf763
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
modules/joule/manifests/init.pp
modules/nilm/manifests/init.pp
modules/python3/manifests/build.pp
modules/joule/manifests/init.pp
View file @
c2b052a1
...
...
@@ -17,7 +17,7 @@ class joule {
require
python3
$pip_url
=
"http://puppet:wX27zvbA@pypi.wattsworth.net:8080/"
$pip_cmd
=
"pip3 install --upgrade --extra-index-url
${pip_url}
--trusted-host pypi.wattsworth.net"
$pip_cmd
=
"pip3 install --upgrade --
upgrade-strategy only-if-needed --
extra-index-url
${pip_url}
--trusted-host pypi.wattsworth.net"
$deps
=
[
'libblas-dev'
,
'liblapack-dev'
,
'gfortran'
]
...
...
modules/nilm/manifests/init.pp
View file @
c2b052a1
...
...
@@ -13,7 +13,7 @@ class nilm {
require
raspi
require
python3
$pip_url
=
"http://puppet:wX27zvbA@pypi.wattsworth.net:8080/"
$pip_cmd
=
"pip3 install --upgrade --extra-index-url
${pip_url}
--trusted-host pypi.wattsworth.net"
$pip_cmd
=
"pip3 install --upgrade
-strategy only-if-needed --upgrade
--extra-index-url
${pip_url}
--trusted-host pypi.wattsworth.net"
package
{
"libfreetype6-dev"
:
ensure
=>
present
...
...
modules/python3/manifests/build.pp
View file @
c2b052a1
class
python3::build
{
$pip_url
=
"http://puppet:wX27zvbA@pypi.wattsworth.net:8080/"
$pip_cmd
=
"pip3 install --upgrade --extra-index-url
${pip_url}
--trusted-host pypi.wattsworth.net"
$pip_cmd
=
"pip3 install --upgrade --
upgrade-strategy only-if-needed --
extra-index-url
${pip_url}
--trusted-host pypi.wattsworth.net"
notify
{
"python3 is at [
${::python_version}
], building 3.5.2 from source"
:
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment