0

Is there a way to check for updates for packages in InSpec?

Something like:

describe package 'httpd' do

   it { should be_uptodate }

end

I can't find any resources to help there.

1 Answers1

0

There is no such resource. You could submit a PR or parse output relevant to your distro / package manager using command resource.

Szymon
  • 1,525
  • 1
  • 11
  • 12