I've got the following puppet service:
service { "
[email protected]":
provider => systemd,
ensure => running,
enable => true,
}
When I try to apply this configuration on my client, it throws the following error:
err: /Stage[main]//Node[puppetclient]/Service[
[email protected]]/enable: change from false to true failed: Could not enable
[email protected]:
The service is running fine and I can make sure it's started on system boot by adding
a symlink to getty.target.wants:
ln -s /lib/systemd/system/
[email protected] /etc/systemd/system/getty.target.wants/
[email protected]
Of source, I could go ahead and remove "enable = true" from the service definition and include
a the symlink manually in the puppet configuration, but shouldn't puppet take care of this? Am I doing something terribly wrong?