Search code examples
testinginspec

Check for updates in InSpec


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.


Solution

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