Sha256: 6bd6131c25dac1645895135f384c261f5edb90531c691e2bc7cc706b7ebac850

Contents?: true

Size: 1.66 KB

Versions: 32

Compression:

Stored size: 1.66 KB

Contents

class Chef
  class Dist
    require "chef-config/dist"
    require "chef-config/config"

    # This class is not fully implemented, depending on it is not recommended!
    # When referencing a product directly, like Chef (Now Chef Infra)
    PRODUCT = "Chef Infra Client".freeze

    # A short designation for the product, used in Windows event logs
    # and some nomenclature.
    SHORT = ChefConfig::Dist::SHORT.freeze

    # The name of the server product
    SERVER_PRODUCT = "Chef Infra Server".freeze

    # The client's alias (chef-client)
    CLIENT = ChefConfig::Dist::CLIENT.freeze

    # name of the automate product
    AUTOMATE = "Chef Automate".freeze

    # The chef executable, as in `chef gem install` or `chef generate cookbook`
    EXEC = ChefConfig::Dist::EXEC.freeze

    # product website address
    WEBSITE = "https://chef.io".freeze

    # Chef-Zero's product name
    ZERO = "Chef Infra Zero".freeze

    # Chef-Solo's product name
    SOLO = "Chef Infra Solo".freeze

    # The chef-zero executable (local mode)
    ZEROEXEC = "chef-zero".freeze

    # The chef-solo executable (legacy local mode)
    SOLOEXEC = "chef-solo".freeze

    # The chef-shell executable
    SHELL = "chef-shell".freeze

    # The chef-apply executable
    APPLY = "chef-apply".freeze

    # Configuration related constants
    # The chef-shell configuration file
    SHELL_CONF = "chef_shell.rb".freeze

    # The configuration directory
    CONF_DIR = ChefConfig::Config.etc_chef_dir.freeze

    # The user's configuration directory
    USER_CONF_DIR = ChefConfig::Dist::USER_CONF_DIR.freeze

    # The server's configuration directory
    SERVER_CONF_DIR = "/etc/chef-server".freeze
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
chef-15.17.4-universal-mingw32 lib/chef/dist.rb
chef-15.17.4 lib/chef/dist.rb
chef-15.16.7-universal-mingw32 lib/chef/dist.rb
chef-15.16.7 lib/chef/dist.rb
chef-15.16.4-universal-mingw32 lib/chef/dist.rb
chef-15.16.4 lib/chef/dist.rb
chef-15.16.2-universal-mingw32 lib/chef/dist.rb
chef-15.16.2 lib/chef/dist.rb
chef-15.15.0-universal-mingw32 lib/chef/dist.rb
chef-15.15.0 lib/chef/dist.rb
chef-15.14.0 lib/chef/dist.rb
chef-15.14.0-universal-mingw32 lib/chef/dist.rb
chef-15.13.8 lib/chef/dist.rb
chef-15.13.8-universal-mingw32 lib/chef/dist.rb
chef-15.12.22 lib/chef/dist.rb
chef-15.12.22-universal-mingw32 lib/chef/dist.rb
chef-15.11.8 lib/chef/dist.rb
chef-15.11.8-universal-mingw32 lib/chef/dist.rb
chef-15.11.3 lib/chef/dist.rb
chef-15.11.3-universal-mingw32 lib/chef/dist.rb