Class: Ansible::Ruby::Modules::Cpanm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cpanm
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb
Overview
Manage Perl library dependencies.
Instance Method Summary collapse
-
#executable ⇒ Object?
Override the path to the cpanm executable.
-
#from_path ⇒ String?
The local directory from where to install.
-
#installdeps ⇒ :yes, ...
Only install dependencies.
-
#locallib ⇒ :yes, ...
Specify the install base to install modules.
-
#mirror ⇒ :yes, ...
Specifies the base URL for the CPAN mirror to use.
-
#mirror_only ⇒ :yes, ...
Use the mirror’s index file instead of the CPAN Meta DB.
-
#name ⇒ String?
The name of the Perl library to install.
-
#notest ⇒ :yes, ...
Do not run unit tests.
-
#system_lib ⇒ :yes, ...
Use this if you want to install modules to the system perl include path.
-
#version ⇒ :yes, ...
Minimum version of perl module to consider acceptable.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#executable ⇒ Object?
Returns Override the path to the cpanm executable.
48 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 48 attribute :executable |
#from_path ⇒ String?
Returns The local directory from where to install.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 16 attribute :from_path |
#installdeps ⇒ :yes, ...
Returns Only install dependencies.
36 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 36 attribute :installdeps |
#locallib ⇒ :yes, ...
Returns Specify the install base to install modules.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 24 attribute :locallib |
#mirror ⇒ :yes, ...
Returns Specifies the base URL for the CPAN mirror to use.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 28 attribute :mirror |
#mirror_only ⇒ :yes, ...
Returns Use the mirror’s index file instead of the CPAN Meta DB.
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 32 attribute :mirror_only |
#name ⇒ String?
Returns The name of the Perl library to install. You may use the “full distribution path”, e.g. MIYAGAWA/Plack-0.99_05.tar.gz.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 12 attribute :name |
#notest ⇒ :yes, ...
Returns Do not run unit tests.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 20 attribute :notest |
#system_lib ⇒ :yes, ...
Returns Use this if you want to install modules to the system perl include path. You must be root or have “passwordless” sudo for this to work.,This uses the cpanm commandline option ‘–sudo’, which has nothing to do with ansible privilege escalation.
44 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 44 attribute :system_lib |
#version ⇒ :yes, ...
Returns minimum version of perl module to consider acceptable.
40 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 40 attribute :version |