Hi all, I have a few test environments where I need to leave machines running for days or weeks at a time, and they're not important enough to use up Landscape or Canonical live patching licence slots, but I don't want to leave them open to the Internet with possible security vulnerabilities. So I created a little charm called unattended, which configures unattended-upgrades and configures it to automatically reboot the system. It shows important information in juju status so you can be reminded about pending reboots or required security patches. Here are some examples of what you might see in juju status when using it: http://pastebin.ubuntu.com/24379952/ http://pastebin.ubuntu.com/24379971/
This is designed to be a small, simple subordinate charm which you can add to your deployments with minimal overhead; it doesn't use reactive, and a lot of it is written in bash. It can be found at https://github.com/paulgear/charm-unattended and https://code.launchpad.net/charm-unattended/ Just to reiterate, the unattended charm AUTOMATICALLY REBOOTS the juju unit BY DEFAULT, if unattended-upgrades decides it is necessary. (This is configurable.) Feedback, questions, MPs, etc. welcome. -- Regards, Paul Gear Site Reliability Engineer Canonical - Information Systems
signature.asc
Description: OpenPGP digital signature
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
