Class: PoiseLanguages::Static::Provider Private

Inherits:
Chef::Provider
  • Object
show all
Includes:
Poise
Defined in:
lib/poise_languages/static/resource.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

The default provider for ‘poise_languages_static`.

See Also:

Since:

  • 1.0

Instance Method Summary collapse

Instance Method Details

#action_installvoid

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

The ‘install` action for the `poise_languages_static` resource.

Since:

  • 1.0



73
74
75
76
77
78
79
# File 'lib/poise_languages/static/resource.rb', line 73

def action_install
  notifying_block do
    download_archive
    create_directory
    # Unpack is handled as a notification from download_archive.
  end
end

#action_uninstallvoid

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

The ‘uninstall` action for the `poise_languages_static` resource.

Since:

  • 1.0



84
85
86
87
88
89
# File 'lib/poise_languages/static/resource.rb', line 84

def action_uninstall
  notifying_block do
    delete_archive
    delete_directory
  end
end