Skip to content

chef/mlsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef Online Master License and Services Agreement

Legal requires us to have customers agree to the MLSA for proprietary software which is available from the Habitat public depot. This package is designed to be a dependency for any A2 Habitat components. It expects the run hook for each component to call the accept script which blocks unless the the running service config sets mlsa.accept to true, indicating the MLSA has been accepted.

Usage

To use this package you need to add it to your plan, add the key/values show below to your default.toml, and call it in your run hook(s).

plan.sh

pkg_name=example
pkg_origin=chef
pkg_version=0.1.0
pkg_description="My Example Service"
pkg_license=('Proprietary')
pkg_deps=(
  chef/mlsa
)

default.toml

[mlsa]
accept = false

run hook

#!/bin/sh
# Call the script to block until user accepts the MLSA via the package's config
{{pkgPathFor "chef/mlsa"}}/bin/accept {{cfg.mlsa.accept}}

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages