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
7390b19f
Commit
7390b19f
authored
Jun 20, 2019
by
Rane Squires
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add command path, change file destination to /opt/envs/
parent
988d8c1d
Pipeline
#34
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
manifests/environments.pp
manifests/environments.pp
+3
-2
No files found.
manifests/environments.pp
View file @
7390b19f
...
...
@@ -6,15 +6,16 @@
# include anaconda::environments
class
anaconda::environments
{
file
{
'/vanilla3.yml'
:
file
{
'/
opt/envs/
vanilla3.yml'
:
ensure
=>
present
,
source
=>
'puppet:///modules/anaconda/data'
,
}
exec
{
'setupvanilla3'
:
unless
=>
"conda env list | grep -q 'vanilla3'"
,
command
=>
'conda env create -f vanilla3.yml'
,
command
=>
'conda env create -f
/opt/envs/
vanilla3.yml'
,
require
=>
File
[
vanilla3
.
yml
],
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