package templates

func ScopeTemplateContent() string {
	return `#cloud-config

{{ .Name}}:
  {{ range .Services }}{{ .GetName }}:
    {{ range $key, $value := .GetParameters }}{{ $key }}: {{ $value }}
    {{ end }}
  {{ end }}units:
    {{ range .Units }}- name: {{ .GetName }}
      command: {{ .GetCommand }}
		{{ end }}
`
}

package templates

func ScopeTemplateContent() string {
	return `#cloud-config

{{ .Name}}:
  {{ range .Services }}{{ .GetName }}:
    {{ range $key, $value := .GetParameters }}{{ $key }}: {{ $value }}
    {{ end }}
  {{ end }}
`
}

--- 
+++ 
@@ -7,6 +7,9 @@
   {{ range .Services }}{{ .GetName }}:
     {{ range $key, $value := .GetParameters }}{{ $key }}: {{ $value }}
     {{ end }}
-  {{ end }}
+  {{ end }}units:
+    {{ range .Units }}- name: {{ .GetName }}
+      command: {{ .GetCommand }}
+		{{ end }}
 `
 }
Add units to template file
