lib/kitchen/driver/aws/standard_platform/debian.rb in kitchen-ec2-1.3.2 vs lib/kitchen/driver/aws/standard_platform/debian.rb in kitchen-ec2-1.4.0

- old
+ new

@@ -7,13 +7,14 @@ # https://wiki.debian.org/Cloud/AmazonEC2Image class Debian < StandardPlatform StandardPlatform.platforms["debian"] = self DEBIAN_CODENAMES = { + "9" => "stretch", "8" => "jessie", "7" => "wheezy", - "6" => "squeeze" + "6" => "squeeze", } def username "admin" end @@ -23,10 +24,10 @@ end def image_search search = { "owner-id" => "379101102735", - "name" => "debian-#{codename}-*" + "name" => "debian-#{codename}-*", } search["architecture"] = architecture if architecture search end