From 5babbcd3a607678c2c9f443b983945d779b33f5d Mon Sep 17 00:00:00 2001 From: whitestar Date: Thu, 10 Jun 2021 17:53:24 +0900 Subject: [PATCH] lxcs-0.1.8 --- cookbooks/lxcs/CHANGELOG.md | 5 +++++ cookbooks/lxcs/attributes/default.rb | 2 +- cookbooks/lxcs/metadata.rb | 2 +- cookbooks/lxcs/recipes/lxc.rb | 6 ++++-- cookbooks/lxcs/version | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/cookbooks/lxcs/CHANGELOG.md b/cookbooks/lxcs/CHANGELOG.md index 8c8b04a..269ccef 100644 --- a/cookbooks/lxcs/CHANGELOG.md +++ b/cookbooks/lxcs/CHANGELOG.md @@ -1,5 +1,10 @@ # lxcs CHANGELOG +0.1.8 +----- +- installs `lxc-templates` package. +- does not install `yum` package. + 0.1.7 ----- - adds the Ubuntu 17.10 (LXC 2.1) support. diff --git a/cookbooks/lxcs/attributes/default.rb b/cookbooks/lxcs/attributes/default.rb index bfcde87..018fc79 100644 --- a/cookbooks/lxcs/attributes/default.rb +++ b/cookbooks/lxcs/attributes/default.rb @@ -2,7 +2,7 @@ # Cookbook Name:: lxcs # Attributes:: default # -# Copyright 2017, whitestar +# Copyright 2017-2021, whitestar # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/cookbooks/lxcs/metadata.rb b/cookbooks/lxcs/metadata.rb index a36d167..e7721ee 100644 --- a/cookbooks/lxcs/metadata.rb +++ b/cookbooks/lxcs/metadata.rb @@ -14,7 +14,7 @@ chef_version '>= 12' # https://wiki.debian.org/LXC # https://wiki.debian.org/LXD #supports 'debian', '>= 8.0' -supports 'ubuntu', '>= 16.04' +supports 'ubuntu', '>= 18.04' depends 'platform_utils', '>= 0.3.1' depends 'ssl_cert', '>= 0.3.7' diff --git a/cookbooks/lxcs/recipes/lxc.rb b/cookbooks/lxcs/recipes/lxc.rb index 53d144d..38497a6 100644 --- a/cookbooks/lxcs/recipes/lxc.rb +++ b/cookbooks/lxcs/recipes/lxc.rb @@ -2,7 +2,7 @@ # Cookbook Name:: lxcs # Recipe:: lxc # -# Copyright 2017, whitestar +# Copyright 2017-2021, whitestar # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,7 +22,9 @@ lxc_conf = node['lxcs']['lxc'] [ 'curl', 'lxc', - 'yum' # CentOS on lxc + 'lxc-templates', + # Note: Ubuntu 20.04 LTS does not support yum package. + #'yum' # CentOS on lxc ].each {|pkg| resources(package: pkg) rescue package pkg do action :install diff --git a/cookbooks/lxcs/version b/cookbooks/lxcs/version index 1180819..699c6c6 100644 --- a/cookbooks/lxcs/version +++ b/cookbooks/lxcs/version @@ -1 +1 @@ -0.1.7 +0.1.8 -- 2.11.0