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
bf1ec3b9
Commit
bf1ec3b9
authored
Dec 03, 2019
by
Rane Squires
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Un-comment and add 'environment' line to exec "setupbioinformatics"
parent
3cff0582
Pipeline
#136
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
manifests/environments.pp
manifests/environments.pp
+7
-6
No files found.
manifests/environments.pp
View file @
bf1ec3b9
...
@@ -55,11 +55,12 @@ class anaconda::environments {
...
@@ -55,11 +55,12 @@ class anaconda::environments {
require
=>
File
[
'/opt/envs'
],
require
=>
File
[
'/opt/envs'
],
}
}
#exec { 'setupbioinformatics':
exec
{
'setupbioinformatics'
:
# unless => "conda env list | grep -q '/opt/anaconda/envs/bioinformatics'",
unless
=>
"conda env list | grep -q '/opt/anaconda/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'],
environment
=>
[
"SHELL=/bin/bash"
],
# path => ['/bin','/opt/anaconda/bin']
require
=>
File
[
'/opt/envs/bioinformatics.yml'
],
#}
path
=>
[
'/bin'
,
'/opt/anaconda/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