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
3156d68c
Commit
3156d68c
authored
Aug 12, 2011
by
Lance Albertson
Browse files
gentoo: fact for determining baselayout version
parent
928f6c92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lib/facter/baselayout_version.rb
lib/facter/baselayout_version.rb
+7
-0
No files found.
lib/facter/baselayout_version.rb
0 → 100644
View file @
3156d68c
# baselayout_version.rb
Facter
.
add
(
"baselayout_version"
)
do
confine
:operatingsystem
=>
:gentoo
setcode
do
%x{eix '-I*' --format '<installedversions:VERSION>' baselayout}
.
chomp
end
end
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