Conversation
ekohl
left a comment
There was a problem hiding this comment.
If we go this route, we may also want to do the same for Debian. There we have some complication that there's also sysvinit. I wouldn't mind dropping that support and going systemd-only, but that could be a larger discussion.
The thought process behind this is that the puppetserver script has IMHO too many complexities and I'd like to trim it down.
resources/puppetlabs/lein-ezbake/template/global/ext/redhat/ezbake.service.erb
Show resolved
Hide resolved
Yes please. I don't see why we should support sysv. |
|
#8 takes a step in the sysvinit removal direction by at least making sure every platform expects systemd to be present. |
0a3e34b to
e53b600
Compare
|
I've updated it to include #8, a commit to remove sysvinit on Debian and then modified the service wrapper removal to also cover Debian. Then the cli tools become useless, so they're dropped. This also removes the need to manage the rundir, which help a lot to remove things. I'm unsure about the foreground cli app. |
ccd884c to
f8bb47e
Compare
resources/puppetlabs/lein-ezbake/template/global/ext/debian/ezbake.service.erb
Show resolved
Hide resolved
f8bb47e to
68ffc89
Compare
|
Includes #14 now. |
|
closes: OpenVoxProject/planning#69 |
These service wrappers only replicate the default systemd behavior. Running it directly simplifies it greatly because it also drops the need to manage the rundir, which systemd will now take care of for us.
68ffc89 to
b2de7c7
Compare
This fixes a regression introduced in #5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
This fixes a regression introduced in #5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
|
This introduced a regression. The systemd units now have:
Turns out: Variable interpolation isn't support for the first arg of
It doesn't matter if the variable is in quotes or not. from I will fix this in #2 |
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail.
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13.
This fixes a regression introduced in OpenVoxProject#5 / b2de7c7 openvox-server has some ERB templates: https://github.com/OpenVoxProject/openvox-server/tree/main/resources/ext/cli and since above change, they aren't rendered anymore. The templates are still required and builds fail. Signed-off-by: Tim Meusel <tim@bastelfreak.de>
The `/usr` directory contains only two files: ``` /usr /usr/lib /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/puppetserver.conf /usr/share /usr/share/doc /usr/share/doc/openvox-server /usr/share/doc/openvox-server/changelog.gz ``` Since OpenVoxProject#5, we don't package /usr/lib/tmpfiles.d/puppetserver.conf anymore. And the changelog.gz is autogenerated by fpm afterwards. That means that in our packaging directory, there is no `/usr`. If we force fpm to package it, it will raise an error. This change was tested in https://github.com/OpenVoxProject/openvox-server Signed-off-by: Tim Meusel <tim@bastelfreak.de>
ezbake-functions.sh.erb uses the deprecated netstat from the deprecated net-tools package. But I can't find any uses of the functions in ezbake-functions.sh.erb, so let's remove it. The functions were used in the wrappers which were eliminated in OpenVoxProject#5. Fixes OpenVoxProject#13. Signed-off-by: Tim Meusel <tim@bastelfreak.de>
These service wrappers only replicate the default systemd behavior. Running it directly simplifies it greatly.
It's marked as a draft because it's only received very minimal testing from my side. It may be wise to first merge #2 and #4.