Class: PoiseLanguages::Scl::Provider Private
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- PoiseLanguages::Scl::Provider
- Includes:
- Poise
- Defined in:
- lib/poise_languages/scl/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_scl`.
Instance Method Summary collapse
-
#action_install ⇒ void
private
The ‘install` action for the `poise_languages_scl` resource.
-
#action_uninstall ⇒ void
private
The ‘uninstall` action for the `poise_languages_scl` resource.
-
#action_upgrade ⇒ void
private
The ‘upgrade` action for the `poise_languages_scl` resource.
Instance Method Details
#action_install ⇒ void
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_scl` resource.
70 71 72 73 74 75 76 77 |
# File 'lib/poise_languages/scl/resource.rb', line 70 def action_install do install_scl_repo flush_yum_cache install_scl_package(:install) install_scl_devel_package(:install) if new_resource.dev_package end end |
#action_uninstall ⇒ void
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_scl` resource.
94 95 96 97 98 99 |
# File 'lib/poise_languages/scl/resource.rb', line 94 def action_uninstall do uninstall_scl_devel_package if new_resource.dev_package uninstall_scl_package end end |
#action_upgrade ⇒ void
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 ‘upgrade` action for the `poise_languages_scl` resource.
82 83 84 85 86 87 88 89 |
# File 'lib/poise_languages/scl/resource.rb', line 82 def action_upgrade do install_scl_repo flush_yum_cache install_scl_package(:upgrade) install_scl_devel_package(:upgrade) if new_resource.dev_package end end |