Module: Fig::Command::Action::Role::Update

Included in:
Update, UpdateIfMissing
Defined in:
lib/fig/command/action/role/update.rb

Instance Method Summary collapse

Instance Method Details

#allow_both_descriptor_and_file?Boolean

Returns:

  • (Boolean)

15
16
17
18
# File 'lib/fig/command/action/role/update.rb', line 15

def allow_both_descriptor_and_file?()
  # We don't care, so we let the base action say what it wants.
  return true
end

#apply_base_config?Boolean

Returns:

  • (Boolean)

36
37
38
# File 'lib/fig/command/action/role/update.rb', line 36

def apply_base_config?()
  return true
end

#apply_config?Boolean

Returns:

  • (Boolean)

32
33
34
# File 'lib/fig/command/action/role/update.rb', line 32

def apply_config?()
  return true
end

#descriptor_requirementObject


11
12
13
# File 'lib/fig/command/action/role/update.rb', line 11

def descriptor_requirement()
  return nil
end

#executeObject


48
49
50
51
# File 'lib/fig/command/action/role/update.rb', line 48

def execute()
  # Don't do anything.
  return Fig::Command::Action::EXIT_SUCCESS
end

#load_base_package?Boolean

Returns:

  • (Boolean)

24
25
26
# File 'lib/fig/command/action/role/update.rb', line 24

def load_base_package?()
  return true
end

#modifies_repository?Boolean

Returns:

  • (Boolean)

20
21
22
# File 'lib/fig/command/action/role/update.rb', line 20

def modifies_repository?()
  return true
end

#register_base_package?Boolean

Returns:

  • (Boolean)

28
29
30
# File 'lib/fig/command/action/role/update.rb', line 28

def register_base_package?()
  return true
end

#remote_operation_necessary?Boolean

Returns:

  • (Boolean)

44
45
46
# File 'lib/fig/command/action/role/update.rb', line 44

def remote_operation_necessary?()
  return true
end

#retrieves_should_happen?Boolean

Returns:

  • (Boolean)

40
41
42
# File 'lib/fig/command/action/role/update.rb', line 40

def retrieves_should_happen?()
  return true
end