Back to all reviewers

Standardize installation directory paths

chef/chef
Based on 4 comments
Other

Maintain consistent and separate installation paths for different build types to prevent conflicts and improve system organization. Use `/hab` directory for Habitat builds and `/opt/chef` for Omnibus installations.

Configurations Other

Reviewer Prompt

Maintain consistent and separate installation paths for different build types to prevent conflicts and improve system organization. Use /hab directory for Habitat builds and /opt/chef for Omnibus installations.

Key guidelines:

  • Place Habitat-built components under /hab/ directory
  • Keep Omnibus installations under /opt/chef/
  • Use distinct directories for migration tools (e.g., /hab/migration/)
  • Avoid mixing paths between build types

Example directory structure:

# Habitat builds
/hab/
  ├── chef/
  │   └── bin/
  └── migration/
      ├── bin/
      └── bundle/

# Omnibus installations
/opt/chef/
  ├── bin/
  └── bundle/

This separation enables:

  • Clear distinction between installation types
  • Easier cookbook checks and compatibility verification
  • Simplified upgrade paths
  • Prevention of file conflicts between different versions
4
Comments Analyzed
Other
Primary Language
Configurations
Category

Source Discussions