Class: Ansible::Ruby::Modules::Portage
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Portage
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb
Overview
Manages Gentoo packages
Instance Method Summary collapse
-
#changed_use ⇒ :yes?
Include installed packages where USE flags have changed, except when,flags that the user has not enabled are added or removed,(–changed-use).
-
#deep ⇒ :yes?
Consider the entire dependency tree of packages (–deep).
-
#depclean ⇒ Boolean?
Remove packages not needed by explicitly merged packages (–depclean),If no package is specified, clean up the world’s dependencies,Otherwise, –depclean serves as a dependency aware version of –unmerge.
-
#getbinpkg ⇒ Boolean?
Prefer packages specified at PORTAGE_BINHOST in make.conf.
-
#newuse ⇒ :yes?
Include installed packages where USE flags have changed (–newuse).
-
#nodeps ⇒ Boolean?
Only merge packages but not their dependencies (–nodeps).
-
#noreplace ⇒ Boolean?
Do not re-emerge installed packages (–noreplace).
-
#oneshot ⇒ Boolean?
Do not add the packages to the world file (–oneshot).
-
#onlydeps ⇒ Boolean?
Only merge packages’ dependencies but not the packages (–onlydeps).
-
#package ⇒ String?
Package atom or set, e.g.
-
#quiet ⇒ Boolean?
Run emerge in quiet mode (–quiet).
-
#state ⇒ :present, ...
State of the package atom.
-
#sync ⇒ :yes, ...
Sync package repositories first,If yes, perform “emerge –sync”,If web, perform “emerge-webrsync”.
-
#update ⇒ :yes?
Update packages to the best version available (–update).
-
#usepkgonly ⇒ Boolean?
Merge only binaries (no compiling).
-
#verbose ⇒ Boolean?
Run emerge in verbose mode (–verbose).
Methods inherited from Base
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
#changed_use ⇒ :yes?
Returns Include installed packages where USE flags have changed, except when,flags that the user has not enabled are added or removed,(–changed-use).
31 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 31 attribute :changed_use |
#deep ⇒ :yes?
Returns Consider the entire dependency tree of packages (–deep).
23 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 23 attribute :deep |
#depclean ⇒ Boolean?
Returns Remove packages not needed by explicitly merged packages (–depclean),If no package is specified, clean up the world’s dependencies,Otherwise, –depclean serves as a dependency aware version of –unmerge.
51 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 51 attribute :depclean |
#getbinpkg ⇒ Boolean?
Returns Prefer packages specified at PORTAGE_BINHOST in make.conf.
67 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 67 attribute :getbinpkg |
#newuse ⇒ :yes?
Returns Include installed packages where USE flags have changed (–newuse).
27 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 27 attribute :newuse |
#nodeps ⇒ Boolean?
Returns Only merge packages but not their dependencies (–nodeps).
43 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 43 attribute :nodeps |
#noreplace ⇒ Boolean?
Returns Do not re-emerge installed packages (–noreplace).
39 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 39 attribute :noreplace |
#oneshot ⇒ Boolean?
Returns Do not add the packages to the world file (–oneshot).
35 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 35 attribute :oneshot |
#onlydeps ⇒ Boolean?
Returns Only merge packages’ dependencies but not the packages (–onlydeps).
47 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 47 attribute :onlydeps |
#package ⇒ String?
Returns Package atom or set, e.g. C(sys-apps/foo) or C(>foo-2.13) or C(@world).
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 11 attribute :package |
#quiet ⇒ Boolean?
Returns Run emerge in quiet mode (–quiet).
55 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 55 attribute :quiet |
#state ⇒ :present, ...
Returns State of the package atom.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 15 attribute :state |
#sync ⇒ :yes, ...
Returns Sync package repositories first,If yes, perform “emerge –sync”,If web, perform “emerge-webrsync”.
63 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 63 attribute :sync |
#update ⇒ :yes?
Returns Update packages to the best version available (–update).
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 19 attribute :update |
#usepkgonly ⇒ Boolean?
Returns Merge only binaries (no compiling). This sets getbinpkg=yes.
71 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 71 attribute :usepkgonly |
#verbose ⇒ Boolean?
Returns Run emerge in verbose mode (–verbose).
59 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/portage.rb', line 59 attribute :verbose |