Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rsquires-anaconda
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rane Squires
rsquires-anaconda
Commits
b1250a38
Commit
b1250a38
authored
Sep 20, 2019
by
Rane Squires
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change pre-req grep to path instead of env name
parent
5e392dd7
Pipeline
#109
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
manifests/environments.pp
manifests/environments.pp
+4
-4
No files found.
manifests/environments.pp
View file @
b1250a38
...
@@ -17,7 +17,7 @@ class anaconda::environments {
...
@@ -17,7 +17,7 @@ class anaconda::environments {
}
}
exec
{
'setupvanilla3'
:
exec
{
'setupvanilla3'
:
unless
=>
"conda env list | grep -q 'vanilla3'"
,
unless
=>
"conda env list | grep -q '
/opt/miniconda/envs/
vanilla3'"
,
command
=>
'conda env create -f /opt/envs/vanilla3.yml'
,
command
=>
'conda env create -f /opt/envs/vanilla3.yml'
,
require
=>
File
[
'/opt/envs/vanilla3.yml'
],
require
=>
File
[
'/opt/envs/vanilla3.yml'
],
path
=>
[
'/bin'
,
'/opt/miniconda/bin'
]
path
=>
[
'/bin'
,
'/opt/miniconda/bin'
]
...
@@ -30,7 +30,7 @@ class anaconda::environments {
...
@@ -30,7 +30,7 @@ class anaconda::environments {
}
}
exec
{
'setuptensorflow'
:
exec
{
'setuptensorflow'
:
unless
=>
"conda env list | grep -q 'tensorflow'"
,
unless
=>
"conda env list | grep -q '
/opt/miniconda/envs/
tensorflow'"
,
command
=>
'conda env create -f /opt/envs/tensorflow.yml'
,
command
=>
'conda env create -f /opt/envs/tensorflow.yml'
,
require
=>
File
[
'/opt/envs/tensorflow.yml'
],
require
=>
File
[
'/opt/envs/tensorflow.yml'
],
path
=>
[
'/bin'
,
'/opt/miniconda/bin'
]
path
=>
[
'/bin'
,
'/opt/miniconda/bin'
]
...
@@ -43,7 +43,7 @@ class anaconda::environments {
...
@@ -43,7 +43,7 @@ class anaconda::environments {
}
}
exec
{
'setuptensorflow-gpu'
:
exec
{
'setuptensorflow-gpu'
:
unless
=>
"conda env list | grep -q 'tensorflow-gpu'"
,
unless
=>
"conda env list | grep -q '
/opt/miniconda/envs/
tensorflow-gpu'"
,
command
=>
'conda env create -f /opt/envs/tensorflow-gpu.yml'
,
command
=>
'conda env create -f /opt/envs/tensorflow-gpu.yml'
,
require
=>
[
File
[
'/opt/envs/tensorflow-gpu.yml'
],
Exec
[
'setuptensorflow'
]],
require
=>
[
File
[
'/opt/envs/tensorflow-gpu.yml'
],
Exec
[
'setuptensorflow'
]],
path
=>
[
'/bin'
,
'/opt/miniconda/bin'
]
path
=>
[
'/bin'
,
'/opt/miniconda/bin'
]
...
@@ -56,7 +56,7 @@ class anaconda::environments {
...
@@ -56,7 +56,7 @@ class anaconda::environments {
#}
#}
#exec { 'setupbioinformatics':
#exec { 'setupbioinformatics':
# unless => "conda env list | grep -q 'bioinformatics'",
# unless => "conda env list | grep -q '
/opt/miniconda/envs/
bioinformatics'",
# command => 'conda env create -f /opt/envs/bioinformatics.yml',
# command => 'conda env create -f /opt/envs/bioinformatics.yml',
# require => File['/opt/envs/bioinformatics.yml'],
# require => File['/opt/envs/bioinformatics.yml'],
# path => ['/bin','/opt/miniconda/bin']
# path => ['/bin','/opt/miniconda/bin']
...
...
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