Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Forks
Puppet Portage
Commits
8cd95247
Commit
8cd95247
authored
Jul 02, 2015
by
John Zimmerman
Browse files
Update Facter::Util::Resolution to Facter::Core::Execution for Facter 3.0.1.
parent
15a208ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/facter/util/portage.rb
lib/facter/util/portage.rb
+1
-2
No files found.
lib/facter/util/portage.rb
View file @
8cd95247
require
'facter/util/resolution'
module
Facter::Util::Portage
module
Facter::Util::Portage
module_function
module_function
# @return [Hash<Symbol, String>]
# @return [Hash<Symbol, String>]
def
emerge_info
def
emerge_info
output
=
Facter
::
Util
::
Resol
ution
.
exec
(
'emerge --info'
)
output
=
Facter
::
Core
::
Exec
ution
.
exec
(
'emerge --info'
)
values
=
output
.
scan
(
/[0-9A-Z_]+=".+?"/
)
values
=
output
.
scan
(
/[0-9A-Z_]+=".+?"/
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment