Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

CentOS 7 service name changed from CentOS6 #3

Open
jskarpe opened this issue Oct 24, 2014 · 1 comment
Open

CentOS 7 service name changed from CentOS6 #3

jskarpe opened this issue Oct 24, 2014 · 1 comment

Comments

@jskarpe
Copy link

jskarpe commented Oct 24, 2014

nfs is now nfs-server, but nfs still remains as an alias.

The problem is when Puppet tries to enable the service:

Error: Could not enable nfs:
Error: /Stage[main]/Nfs::Server/Service[nfs]/enable: change from false to true failed: Could not enable nfs:

/usr/bin/systemctl is-enabled nfs
disabled
/usr/bin/systemctl enable nfs
Failed to issue method call: No such file or directory

Naming the service nfs-server instead of nfs for CentOS 7 solves the problem.

@alvagante
Copy link
Member

would you send a PR with an updated params.pp?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants