Class: Ansible::Ruby::Modules::Pear

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/packaging/language/pear.rb

Overview

Manage PHP packages with the pear package manager.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#nameArray<String>, String

Returns Name of the package to install, upgrade, or remove.

Returns:

  • (Array<String>, String)

    Name of the package to install, upgrade, or remove.



11
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/pear.rb', line 11

attribute :name

#state:present, ...

Returns Desired state of the package.

Returns:

  • (:present, :absent, :latest, nil)

    Desired state of the package.



15
# File 'lib/ansible/ruby/modules/generated/extras/packaging/language/pear.rb', line 15

attribute :state