Class: Abiquo::Chef::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/abiquo-chef-agent.rb

Class Method Summary collapse

Class Method Details

.bootstrap_backup_fileObject



37
38
39
# File 'lib/abiquo-chef-agent.rb', line 37

def self.bootstrap_backup_file
  '/etc/chef/abiquo_bootstrap.xml'
end

.bootstrap_mediatypeObject



49
50
51
# File 'lib/abiquo-chef-agent.rb', line 49

def self.bootstrap_mediatype
    'application/vnd.abiquo.bootstrap+xml'
end

.chef_config_dirObject



25
26
27
# File 'lib/abiquo-chef-agent.rb', line 25

def self.chef_config_dir
  '/etc/chef'
end

.client_cert_fileObject



41
42
43
# File 'lib/abiquo-chef-agent.rb', line 41

def self.client_cert_file
  '/etc/chef/client.pem'
end

.log_fileObject



33
34
35
# File 'lib/abiquo-chef-agent.rb', line 33

def self.log_file
  '/var/log/abiquo-chef-agent.log'
end

.ntp_serverObject



29
30
31
# File 'lib/abiquo-chef-agent.rb', line 29

def self.ntp_server
  'pool.ntp.org'
end

.validation_certObject



45
46
47
# File 'lib/abiquo-chef-agent.rb', line 45

def self.validation_cert
  '/etc/chef/validation.pem'
end