Class: Ansible::Ruby::Modules::Pulp_repo
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pulp_repo
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb
Overview
Add or remove Pulp repos from a remote host.
Instance Method Summary collapse
-
#add_export_distributor ⇒ :yes, ...
Whether or not to add the export distributor to new C(rpm) repositories.
-
#feed ⇒ String?
Upstream feed URL to receive updates from.
-
#force_basic_auth ⇒ :yes, ...
Httplib2, the library used by the M(uri) module only sends authentication information when a webservice responds to an initial request with a 401 status.
-
#importer_ssl_ca_cert ⇒ Object?
CA certificate string used to validate the feed source SSL certificate.
-
#importer_ssl_client_cert ⇒ Object?
Certificate used as the client certificate when synchronizing the repository.
-
#importer_ssl_client_key ⇒ Object?
Private key to the certificate specified in I(importer_ssl_client_cert), assuming it is not included in the certificate file itself.
-
#name ⇒ String
Name of the repo to add or remove.
-
#proxy_host ⇒ Object?
Proxy url setting for the pulp repository importer.
-
#proxy_port ⇒ Object?
Proxy port setting for the pulp repository importer.
-
#publish_distributor ⇒ Object?
Distributor to use when state is C(publish).
-
#pulp_host ⇒ String?
URL of the pulp server to connect to.
-
#relative_url ⇒ String
Relative URL for the local repository.
-
#repo_type ⇒ String?
Repo plugin type to use (i.e. C(rpm), C(docker)).
-
#serve_http ⇒ :yes, ...
Make the repo available over HTTP.
-
#serve_https ⇒ :yes, ...
Make the repo available over HTTPS.
-
#state ⇒ :present, ...
The repo state.
-
#url_password ⇒ String?
The password for use in HTTP basic authentication to the pulp API.
-
#url_username ⇒ String?
The username for use in HTTP basic authentication to the pulp API.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
-
#wait_for_completion ⇒ :yes, ...
Wait for asynchronous tasks to complete before returning.
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
#add_export_distributor ⇒ :yes, ...
Returns Whether or not to add the export distributor to new C(rpm) repositories.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 12 attribute :add_export_distributor |
#feed ⇒ String?
Returns Upstream feed URL to receive updates from.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 16 attribute :feed |
#force_basic_auth ⇒ :yes, ...
Returns httplib2, the library used by the M(uri) module only sends authentication information when a webservice responds to an initial request with a 401 status. Since some basic auth services do not properly send a 401, logins will fail. This option forces the sending of the Basic authentication header upon initial request.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 20 attribute :force_basic_auth |
#importer_ssl_ca_cert ⇒ Object?
Returns CA certificate string used to validate the feed source SSL certificate. This can be the file content or the path to the file.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 24 attribute :importer_ssl_ca_cert |
#importer_ssl_client_cert ⇒ Object?
Returns Certificate used as the client certificate when synchronizing the repository. This is used to communicate authentication information to the feed source. The value to this option must be the full path to the certificate. The specified file may be the certificate itself or a single file containing both the certificate and private key. This can be the file content or the path to the file.
27 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 27 attribute :importer_ssl_client_cert |
#importer_ssl_client_key ⇒ Object?
Returns Private key to the certificate specified in I(importer_ssl_client_cert), assuming it is not included in the certificate file itself. This can be the file content or the path to the file.
30 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 30 attribute :importer_ssl_client_key |
#name ⇒ String
Returns Name of the repo to add or remove. This correlates to repo-id in Pulp.
33 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 33 attribute :name |
#proxy_host ⇒ Object?
Returns Proxy url setting for the pulp repository importer. This is in the format scheme://host.
37 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 37 attribute :proxy_host |
#proxy_port ⇒ Object?
Returns Proxy port setting for the pulp repository importer.
40 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 40 attribute :proxy_port |
#publish_distributor ⇒ Object?
Returns Distributor to use when state is C(publish). The default is to publish all distributors.
43 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 43 attribute :publish_distributor |
#pulp_host ⇒ String?
Returns URL of the pulp server to connect to.
46 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 46 attribute :pulp_host |
#relative_url ⇒ String
Returns Relative URL for the local repository.
50 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 50 attribute :relative_url |
#repo_type ⇒ String?
Returns Repo plugin type to use (i.e. C(rpm), C(docker)).
54 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 54 attribute :repo_type |
#serve_http ⇒ :yes, ...
Returns Make the repo available over HTTP.
58 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 58 attribute :serve_http |
#serve_https ⇒ :yes, ...
Returns Make the repo available over HTTPS.
62 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 62 attribute :serve_https |
#state ⇒ :present, ...
Returns The repo state. A state of C(sync) will queue a sync of the repo. This is asynchronous but not delayed like a scheduled sync. A state of C(publish) will use the repository’s distributor to publish the content.
66 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 66 attribute :state |
#url_password ⇒ String?
Returns The password for use in HTTP basic authentication to the pulp API. If the I(url_username) parameter is not specified, the I(url_password) parameter will not be used.
70 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 70 attribute :url_password |
#url_username ⇒ String?
Returns The username for use in HTTP basic authentication to the pulp API.
74 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 74 attribute :url_username |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
78 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 78 attribute :validate_certs |
#wait_for_completion ⇒ :yes, ...
Returns Wait for asynchronous tasks to complete before returning.
82 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pulp_repo.rb', line 82 attribute :wait_for_completion |