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
119b0749
Commit
119b0749
authored
Nov 23, 2020
by
Rane Squires
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update environments.pp adding new resources to manage tensorflow2 environment
parent
f61d8d06
Pipeline
#173
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
manifests/environments.pp
manifests/environments.pp
+13
-0
No files found.
manifests/environments.pp
View file @
119b0749
...
@@ -49,6 +49,19 @@ class anaconda::environments {
...
@@ -49,6 +49,19 @@ class anaconda::environments {
path
=>
[
'/bin'
,
'/opt/anaconda/bin'
]
path
=>
[
'/bin'
,
'/opt/anaconda/bin'
]
}
}
file
{
'/opt/envs/tensorflow2.yml'
:
ensure
=>
present
,
source
=>
'puppet:///modules/anaconda/tensorflow2.yml'
,
require
=>
File
[
'/opt/envs'
],
}
exec
{
'setuptensorflow2'
:
unless
=>
"conda env list | grep -q '/opt/anaconda/envs/tensorflow2'"
,
command
=>
'conda env create -f /opt/envs/tensorflow2.yml'
,
require
=>
File
[
'/opt/envs/tensorflow2.yml'
],
path
=>
[
'/bin'
,
'/opt/anaconda/bin'
]
}
file
{
'/opt/envs/bioinformatics.yml'
:
file
{
'/opt/envs/bioinformatics.yml'
:
ensure
=>
present
,
ensure
=>
present
,
source
=>
'puppet:///modules/anaconda/bioinformatics.yml'
,
source
=>
'puppet:///modules/anaconda/bioinformatics.yml'
,
...
...
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