itamae-kitchen/mitamae

Issues for funtoo(gentoo) linux

Closed this issue · 3 comments

hsbt commented
  1. package resource is not working with funtoo and gentoo linux. mitamae always tries to install it.

  2. service resource is also not working with funtoo and gentoo linux. They uses OpenRC now. so mitamae needs to invoke rc-update. But the current mitamae uses chkconfig

package resource is not working with funtoo and gentoo linux. mitamae always tries to install it.

My current understanding is that sudo emerge eix && sudo eix-update is the only way to make it work. Please update your recipe to run them before any other package resources.

service resource is also not working with funtoo and gentoo linux. They uses OpenRC now. so mitamae needs to invoke rc-update. But the current mitamae uses chkconfig

Using rc-update is partially implemented in specinfra https://github.com/mizzy/specinfra/blob/5dc5bb07edb03efc2bfb73c6a7d2107e0b8ef293/lib/specinfra/command/gentoo/base/service.rb. But most of actions to update a service seem to be not supported. I'll try to fix them.

Fixed the service problem in v1.11.5 too.

hsbt commented

Thanks a lot.