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
b4d163cf
Commit
b4d163cf
authored
Oct 23, 2019
by
Rane Squires
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' into 'master'
Development -> Master See merge request
!1
parents
f3984e1f
8a12dd29
Pipeline
#118
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
manifests/environments.pp
manifests/environments.pp
+8
-8
manifests/install.pp
manifests/install.pp
+3
-3
manifests/update.pp
manifests/update.pp
+1
-1
No files found.
manifests/environments.pp
View file @
b4d163cf
...
...
@@ -17,10 +17,10 @@ class anaconda::environments {
}
exec
{
'setupvanilla3'
:
unless
=>
"conda env list | grep -q '/opt/
mini
conda/envs/vanilla3'"
,
unless
=>
"conda env list | grep -q '/opt/
ana
conda/envs/vanilla3'"
,
command
=>
'conda env create -f /opt/envs/vanilla3.yml'
,
require
=>
File
[
'/opt/envs/vanilla3.yml'
],
path
=>
[
'/bin'
,
'/opt/
mini
conda/bin'
]
path
=>
[
'/bin'
,
'/opt/
ana
conda/bin'
]
}
file
{
'/opt/envs/tensorflow.yml'
:
...
...
@@ -30,10 +30,10 @@ class anaconda::environments {
}
exec
{
'setuptensorflow'
:
unless
=>
"conda env list | grep -q '/opt/
mini
conda/envs/tensorflow'"
,
unless
=>
"conda env list | grep -q '/opt/
ana
conda/envs/tensorflow'"
,
command
=>
'conda env create -f /opt/envs/tensorflow.yml'
,
require
=>
File
[
'/opt/envs/tensorflow.yml'
],
path
=>
[
'/bin'
,
'/opt/
mini
conda/bin'
]
path
=>
[
'/bin'
,
'/opt/
ana
conda/bin'
]
}
file
{
'/opt/envs/tensorflow-gpu.yml'
:
...
...
@@ -43,10 +43,10 @@ class anaconda::environments {
}
exec
{
'setuptensorflow-gpu'
:
unless
=>
"conda env list | grep -q '/opt/
mini
conda/envs/tensorflow-gpu'"
,
unless
=>
"conda env list | grep -q '/opt/
ana
conda/envs/tensorflow-gpu'"
,
command
=>
'conda env create -f /opt/envs/tensorflow-gpu.yml'
,
require
=>
File
[
'/opt/envs/tensorflow-gpu.yml'
],
path
=>
[
'/bin'
,
'/opt/
mini
conda/bin'
]
path
=>
[
'/bin'
,
'/opt/
ana
conda/bin'
]
}
#file { '/opt/envs/bioinformatics.yml':
...
...
@@ -56,10 +56,10 @@ class anaconda::environments {
#}
#exec { 'setupbioinformatics':
# unless => "conda env list | grep -q '/opt/
mini
conda/envs/bioinformatics'",
# unless => "conda env list | grep -q '/opt/
ana
conda/envs/bioinformatics'",
# command => 'conda env create -f /opt/envs/bioinformatics.yml',
# require => File['/opt/envs/bioinformatics.yml'],
# path => ['/bin','/opt/
mini
conda/bin']
# path => ['/bin','/opt/
ana
conda/bin']
#}
}
manifests/install.pp
View file @
b4d163cf
...
...
@@ -7,13 +7,13 @@
class
anaconda::install
{
exec
{
'downloadconda'
:
creates
=>
'/opt/miniconda.sh'
,
command
=>
'wget https://repo.continuum.io/
miniconda/Miniconda3-latest-Linux-x86_64.sh -O /opt/mini
conda.sh'
,
command
=>
'wget https://repo.continuum.io/
archive/Anaconda3-2019.10-Linux-x86_64.sh -O /opt/ana
conda.sh'
,
path
=>
[
'/usr/bin'
],
}
exec
{
'initialinstallconda'
:
creates
=>
'/opt/
mini
conda/bin/activate'
,
command
=>
'bash /opt/
miniconda.sh -b -p /opt/mini
conda'
,
creates
=>
'/opt/
ana
conda/bin/activate'
,
command
=>
'bash /opt/
anaconda.sh -b -p /opt/ana
conda'
,
path
=>
[
'/bin'
,
'/usr/bin'
],
require
=>
Exec
[
'downloadconda'
],
}
...
...
manifests/update.pp
View file @
b4d163cf
...
...
@@ -7,7 +7,7 @@
class
anaconda::update
{
exec
{
'updateconda'
:
command
=>
'conda update conda'
,
path
=>
[
'/opt/
mini
conda/bin'
,],
path
=>
[
'/opt/
ana
conda/bin'
,],
schedule
=>
'daily'
,
}
}
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