This project is DEPRECATED and NO LONGER SUPPORTED. If you think this should really be supported, reach out and we can discuss options.
It takes the output from InSpec linux-patch-baseline and apply a update for outdated packages.
- Ubuntu > 12.04
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
- Patrick Muench atomic111
- Christoph Hartmann chris-rock
- Dominik Richter arlimus
- Author:: Patrick Muench [email protected]
- Author:: DevSec Hardening Framework
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.