Class: CemAcpt::Provision::Windows

Inherits:
OsData
  • Object
show all
Defined in:
lib/cem_acpt/provision/terraform/windows.rb

Overview

Class provides methods for gathering provision data for Windows nodes

Constant Summary

Constants included from Logging

Logging::LEVEL_MAP

Instance Attribute Summary

Attributes inherited from OsData

#base_provision_directory

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from OsData

#goss_files, #implementation_name, #initialize, #provision_directory, #puppet_manifest_file, #remote_module_package_name, use_for?

Methods included from Logging

current_log_config, #current_log_config, current_log_format, #current_log_format, #current_log_level, current_log_level, included, #logger, logger, new_log_config, #new_log_config, new_log_formatter, #new_log_formatter, #new_log_level, new_log_level, #new_logger, new_logger, verbose?, #verbose?

Constructor Details

This class inherits a constructor from CemAcpt::Provision::OsData

Class Method Details

.valid_namesObject

A name that will match with how image names are on GCP



10
11
12
# File 'lib/cem_acpt/provision/terraform/windows.rb', line 10

def self.valid_names
  %w[windows]
end

.valid_versionsObject



14
15
16
# File 'lib/cem_acpt/provision/terraform/windows.rb', line 14

def self.valid_versions
  %w[2016 2019 2022]
end

Instance Method Details

#destination_provision_directoryObject



22
23
24
# File 'lib/cem_acpt/provision/terraform/windows.rb', line 22

def destination_provision_directory
  'C:/cem_acpt'
end

#provision_commandsObject



26
27
28
# File 'lib/cem_acpt/provision/terraform/windows.rb', line 26

def provision_commands
  ['placeholder']
end

#puppet_bin_pathObject



18
19
20
# File 'lib/cem_acpt/provision/terraform/windows.rb', line 18

def puppet_bin_path
  'C:/Program Files/Puppet Labs/Puppet/bin/puppet.bat'
end