Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/puppet/provider/package/aptrpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
commands :aptcache => "apt-cache"
commands :rpm => "rpm"

defaultfor :osfamily => "Altlinux"

# Mixing confine statements, control expressions, and exception handling
# confuses Rubocop's Layout cops, so we disable them entirely.
# rubocop:disable Layout
Expand Down
2 changes: 2 additions & 0 deletions spec/integration/type/package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def provider_name(os)
else
:sun
end
when 'ALT'
:aptrpm
when 'Ubuntu'
:apt
when 'Debian'
Expand Down