mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Habitat packages should run as root
Many InSpec resources require root access to properly scan. Let's default the run user to root until we need to accommodate different options. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
c70824d0c8
commit
9b472e1b59
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ pkg_origin=#{habitat_origin}
|
|||
pkg_source="nosuchfile.tar.gz"
|
||||
pkg_deps=(chef/inspec)
|
||||
pkg_build_deps=()
|
||||
pkg_svc_user=root
|
||||
EOL
|
||||
|
||||
plan += "pkg_license='#{profile.metadata.params[:license]}'\n\n" if profile.metadata.params[:license]
|
||||
|
|
Loading…
Reference in a new issue