Skip to content

Commit

Permalink
[bashible] Fix rpcbind installation and startup on ALT Linux, CentOS,…
Browse files Browse the repository at this point in the history
… and Debian` (#41)

Signed-off-by: Aleksandr Zimin <[email protected]>
  • Loading branch information
AleksZimin authored Nov 19, 2024
1 parent a6bc598 commit d52faba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ spec:
apt-get install rpcbind nfs-utils
systemctl start rpcbind
systemctl start rpc-statd.service
systemctl enable rpcbind
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ spec:
# See the License for the specific language governing permissions and
# limitations under the License.
bb-yum-install "nfs-utils"
bb-yum-install "nfs-utils" "rpcbind"
# This is dirty hack for statd, because it can't be enabled via systemd in newer distributive (Bashible performs a full cycle at every node reboot, so statd will be started)
systemctl start rpc-statd.service
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ spec:
# See the License for the specific language governing permissions and
# limitations under the License.
bb-apt-install "nfs-common"
bb-apt-install "nfs-common" "rpcbind"
# This is dirty hack for statd, because it can't be enabled via systemd in newer distributive (Bashible performs a full cycle at every node reboot, so statd will be started)
systemctl start rpc-statd.service
{{- end }}

0 comments on commit d52faba

Please sign in to comment.