Class: Bolt::ProjectManager::ConfigMigrator

Inherits:
Migrator
  • Object
show all
Defined in:
lib/bolt/project_manager/config_migrator.rb

Instance Method Summary collapse

Methods inherited from Migrator

#initialize

Constructor Details

This class inherits a constructor from Bolt::ProjectManager::Migrator

Instance Method Details

#migrate(config_file, project_file, inventory_file, backup_dir) ⇒ Object



8
9
10
11
# File 'lib/bolt/project_manager/config_migrator.rb', line 8

def migrate(config_file, project_file, inventory_file, backup_dir)
  bolt_yaml_to_bolt_project(config_file, project_file, inventory_file, backup_dir) &&
    update_options(project_file)
end