Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
/ chef-linux-patch Public archive

⛔ DEPRECATED: Update Linux packages according to InSpec linux-patch-baseline output

License

Notifications You must be signed in to change notification settings

dev-sec/chef-linux-patch

Repository files navigation

update-linux (Chef cookbook)

This project is DEPRECATED and NO LONGER SUPPORTED. If you think this should really be supported, reach out and we can discuss options.

Description

It takes the output from InSpec linux-patch-baseline and apply a update for outdated packages.

Platform

  • Ubuntu > 12.04

Usage

Install dependencies

bundle install

Create a VM in AWS ec2

bundle exec kitchen create

Store the InSpec json output in a data_bag.

inspec exec ./ -t ssh://ubuntu@<dns-name> --key-files=<keyfile> --sudo --format=json > ../update-linux/test/integration/data_bags/packagelist/update.json

Apply updates

bundle exec kitchen converge

Verify the results

bundle exec kitchen verify

Contributors + Kudos

Contributing

See contributor guideline.

License and Author

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

⛔ DEPRECATED: Update Linux packages according to InSpec linux-patch-baseline output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages