Skip to content

Commit

Permalink
[Lazy] Introduce system profile
Browse files Browse the repository at this point in the history
  • Loading branch information
nervo committed Feb 7, 2024
1 parent c2df6bf commit dae517b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lazy.ansible/.manala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ system:
env_file: []
# @schema {"items": {"type": "string"}}
mount: []
# @schema {"type": ["null", "string"]}
profile: ~
docker: false
goss:
# @schema {"enum": [null, "0.4.4", "0.3.23"]}
Expand Down
5 changes: 5 additions & 0 deletions lazy.ansible/.manala/etc/profile.d/profile.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Profile template
# Don't edit this file directly. Instead, set profile in project .manala.yaml, and run `manala up`.
{{ if .Vars.system.profile }}
{{ .Vars.system.profile }}
{{- end -}}
2 changes: 2 additions & 0 deletions lazy.kubernetes/.manala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ system:
env_file: []
# @schema {"items": {"type": "string"}}
mount: []
# @schema {"type": ["null", "string"]}
profile: ~
docker: false
goss:
# @schema {"enum": [null, "0.4.4", "0.3.23"]}
Expand Down
5 changes: 5 additions & 0 deletions lazy.kubernetes/.manala/etc/profile.d/profile.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Profile template
# Don't edit this file directly. Instead, set profile in project .manala.yaml, and run `manala up`.
{{ if .Vars.system.profile }}
{{ .Vars.system.profile }}
{{- end -}}
2 changes: 2 additions & 0 deletions lazy.symfony/.manala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ system:
env_file: []
# @schema {"items": {"type": "string"}}
mount: []
# @schema {"type": ["null", "string"]}
profile: ~
docker: false
goss:
# @schema {"enum": [null, "0.4.4", "0.3.23"]}
Expand Down
5 changes: 5 additions & 0 deletions lazy.symfony/.manala/etc/profile.d/profile.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Profile template
# Don't edit this file directly. Instead, set profile in project .manala.yaml, and run `manala up`.
{{ if .Vars.system.profile }}
{{ .Vars.system.profile }}
{{- end -}}

0 comments on commit dae517b

Please sign in to comment.