Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tracingcarbon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
liu-puppet-modules
Tracingcarbon
Commits
650ce91a
Commit
650ce91a
authored
3 years ago
by
Måns Gezelius
Browse files
Options
Downloads
Patches
Plain Diff
Separate runserver from init and disable for now
parent
a086817f
No related branches found
No related tags found
2 merge requests
!10
Test
,
!9
Devel
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/init.pp
+1
-8
1 addition, 8 deletions
manifests/init.pp
manifests/runserver.pp
+2
-2
2 additions, 2 deletions
manifests/runserver.pp
with
3 additions
and
10 deletions
manifests/init.pp
+
1
−
8
View file @
650ce91a
...
...
@@ -41,12 +41,5 @@ class tracingcarbon {
include
tracingcarbon::python
include
tracingcarbon::yarn
exec
{
'Run django'
:
command
=>
'python3.9 manage.py runserver &'
,
path
=>
[
'/usr/bin'
,
'/bin'
],
cwd
=>
'/home/mange61/tracing-carbon'
,
user
=>
'mange61'
,
unless
=>
'nc localhost 8000 -w 1'
,
}
# include tracingcarbon::runserver
}
This diff is collapsed.
Click to expand it.
manifests/runserver.pp
+
2
−
2
View file @
650ce91a
class
tracingcarbon::runserver
()
{
exec
{
'Run django'
:
command
=>
'python3
.9
manage.py runserver'
,
path
=>
[
'/usr/bin'
,
'/bin'
],
command
=>
'
pipenv run
python3 manage.py runserver
&
'
,
path
=>
[
'/home/mange61/.local/bin'
,
'/usr/bin'
,
'/bin'
],
cwd
=>
'/home/mange61/tracing-carbon'
,
user
=>
'mange61'
,
unless
=>
'nc localhost 8000 -w 1'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment