{{if eq .PackageDescriptor.Package.Type "chef"}}

{{ctx.Locale.Tr "packages.installation"}}

knife[:supermarket_site] = ''
knife supermarket install {{.PackageDescriptor.Package.Name}} {{.PackageDescriptor.Version.Version}}
{{if or .PackageDescriptor.Metadata.Description .PackageDescriptor.Metadata.LongDescription}}

{{ctx.Locale.Tr "packages.about"}}

{{if .PackageDescriptor.Metadata.Description}}

{{.PackageDescriptor.Metadata.Description}}

{{end}} {{if .PackageDescriptor.Metadata.LongDescription}}{{ctx.RenderUtils.MarkdownToHtml .PackageDescriptor.Metadata.LongDescription}}{{end}}
{{end}} {{if .PackageDescriptor.Metadata.Dependencies}}

{{ctx.Locale.Tr "packages.dependencies"}}

{{range $dependency, $version := .PackageDescriptor.Metadata.Dependencies}} {{end}}
{{ctx.Locale.Tr "packages.dependency.id"}} {{ctx.Locale.Tr "packages.dependency.version"}}
{{$dependency}} {{$version}}
{{end}} {{end}}