Module: InfraTestingHelpers
- Defined in:
- lib/infra_testing_helpers.rb,
lib/infra_testing_helpers/box.rb,
lib/infra_testing_helpers/site.rb,
lib/infra_testing_helpers/helper.rb
Defined Under Namespace
Modules: Helper
Classes: Box, PuppetApplyFailed, Site
Class Method Summary
collapse
Class Method Details
.module_path ⇒ Object
28
29
30
|
# File 'lib/infra_testing_helpers.rb', line 28
def self.module_path
@settings[:module_path]
end
|
.module_path=(path) ⇒ Object
32
33
34
|
# File 'lib/infra_testing_helpers.rb', line 32
def self.module_path=(path)
@settings[:module_path] = path
end
|
.project_root ⇒ Object
36
37
38
|
# File 'lib/infra_testing_helpers.rb', line 36
def self.project_root
@settings[:project_root] or raise 'project_root has not been set'
end
|
.project_root=(path) ⇒ Object
40
41
42
|
# File 'lib/infra_testing_helpers.rb', line 40
def self.project_root=(path)
@settings[:project_root] = path
end
|
.site_pp ⇒ Object
20
21
22
|
# File 'lib/infra_testing_helpers.rb', line 20
def self.site_pp
@settings[:site_pp]
end
|
.site_pp=(puppet_code) ⇒ Object
24
25
26
|
# File 'lib/infra_testing_helpers.rb', line 24
def self.site_pp=(puppet_code)
@settings[:site_pp] = puppet_code
end
|
.vagrant_shared_folder ⇒ Object
12
13
14
|
# File 'lib/infra_testing_helpers.rb', line 12
def self.vagrant_shared_folder
@settings[:vagrant_shared_folder]
end
|
.vagrant_shared_folder=(mount_point) ⇒ Object
16
17
18
|
# File 'lib/infra_testing_helpers.rb', line 16
def self.vagrant_shared_folder=(mount_point)
@settings[:vagrant_shared_folder] = mount_point
end
|