Class: Chef::Automate
- Inherits:
-
Object
- Object
- Chef::Automate
- Defined in:
- lib/chef/automate.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/chef/automate.rb', line 7 def self.config { sql_user: 'automate-cs-oc-erchef', sql_cert: '/hab/svc/automate-cs-oc-erchef/config/service.crt', sql_key: '/hab/svc/automate-cs-oc-erchef/config/service.key', sql_rootcert: '/hab/svc/automate-cs-oc-erchef/config/root_ca.crt', sql_db: 'automate-cs-oc-erchef', webui_key: '/hab/svc/automate-cs-oc-erchef/data/webui_priv.pem' } end |
.is_installed? ⇒ Boolean
3 4 5 |
# File 'lib/chef/automate.rb', line 3 def self.is_installed? File.exist?('/hab/svc/automate-cs-oc-erchef/') end |