Skip to content
Snippets Groups Projects
Commit a086817f authored by root's avatar root
Browse files

Some fixes

parent 24f7c783
No related branches found
No related tags found
2 merge requests!10Test,!9Devel
......@@ -37,4 +37,16 @@ class tracingcarbon {
}
include certdist
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',
}
}
class tracingcarbon::python ( ) {
package { 'python39' :
ensure => 'installed',
}
}
class tracingcarbon::runserver () {
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',
}
}
class tracingcarbon::yarn ( ) {
package { 'nodejs' :
ensure => 'installed',
}
}
include tracingcarbon::python
include tracingcarbon::runserver
include tracingcarbon::yarn
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment