fauxhai icon indicating copy to clipboard operation
fauxhai copied to clipboard

Add Ubuntu 22.04

Open smcgu opened this issue 2 years ago • 16 comments

Two notes:

  1. Step 10 of CONTRIBUTING.md was unsuccessful for me. I had to require 'fauxhai' and even then it was all false positives. For example, Fauxhai.mock(platform: 'ubuntu', version: '45.04') did not generate errors.
  2. I dropped 22.04.json into my actual fauxhai installation and this worked for a basic rspectest of platform 'ubuntu', '22.04'.

smcgu avatar Sep 27 '22 17:09 smcgu

Are changes needed here? This PR has been open for 4 months without a response. Ubuntu 22.04 was released nearly 9 months ago.

benlemasurier avatar Jan 31 '23 15:01 benlemasurier

There also need to be changes to platforms.json https://github.com/chefspec/fauxhai/pull/372/files

#373

benlemasurier avatar Jan 31 '23 20:01 benlemasurier

There also need to be changes to platforms.json https://github.com/chefspec/fauxhai/pull/372/files

I have updated platforms.json. If this is needed for PRs, probably a good idea to update CONTRIBUTING.md to include this step.

smcgu avatar Jan 31 '23 21:01 smcgu

@buck3tsec I just got the following word from Chef via Slack:

Please note, fauxhai ruby gem is being published from the chef/fauxhai fork since last year. this was done as we had lost access/ contact to original chefspec org.

ramereth avatar Feb 01 '23 16:02 ramereth

Hi! Is there any way we can do to keep pushing this forward?

shierro avatar Mar 24 '23 04:03 shierro

Yeah, by filing the PR here instead i guess chef/fauxhai.

Everything is so frustratingly slow regarding Chef lately. How does something simple like a new Ubuntu release take over a year and still not make it into Fauxhai? How does Chef 17, which is technically still in support, and whose latest stable release contains a vulnerable version of openssl, not get any release since over a year?!

hrak avatar Apr 19 '23 13:04 hrak

So the chefspec/fauxhai is dead now? Is anyone planning to re-submit over in chef/fauxhai?

dtseiler avatar Jun 02 '23 21:06 dtseiler

also probably want to update PLATFORMS.md to add 22.04 as well.

dtseiler avatar Jun 02 '23 21:06 dtseiler

Hopefully I'm not overstepping but I went ahead and ported this PR over to https://github.com/chef/fauxhai/pull/16.

dtseiler avatar Jun 02 '23 21:06 dtseiler

FYI (as you can see) the chef/fauxhai PR has been merged. I imagine this PR could be closed. Now to figure out how to change our pipeline to use it. :)

dtseiler avatar Aug 09 '23 14:08 dtseiler

Looks like this is still a problem. Is there any way we can get 22.04 support merged in?

blackknight36 avatar Oct 19 '23 20:10 blackknight36

@blackknight36 Have you tried to use it from the chef/fauxhai fork? As noted above, this repo is no longer being maintained.

dtseiler avatar Oct 19 '23 21:10 dtseiler

thanks for working on the PR @dtseiler awesome work!

did you have success on using it from chef/fauxai? I saw a note from the changelog that it wasn't released yet

https://github.com/chef/fauxhai/blob/main/CHANGELOG.md#changes-not-yet-released-to-rubygemsorg

shierro avatar Oct 20 '23 00:10 shierro

@blackknight36 Progress incorrectly removed all non employees from this repo and somehow doesn't have the gem access anymore. It's a dead repo. Use their fork instead

tas50 avatar Oct 20 '23 02:10 tas50

@shierro unfortunately I haven't had a chance to actually use it, sorry.

dtseiler avatar Oct 20 '23 02:10 dtseiler

@blackknight36 Progress incorrectly removed all non employees from this repo and somehow doesn't have the gem access anymore. It's a dead repo. Use their fork instead

Thanks. I'll look into using the other version.

blackknight36 avatar Oct 21 '23 01:10 blackknight36