I installed Puppet 5 on an CentOS 7 machine from https://yum.puppet.com/puppet/
. The installation was successful and I can run puppet apply
for a simple manifest like this one:
file {'/tmp/example-ip':
ensure => present,
mode => '0644',
content => "Here is my Public IP Address: ${ipaddress_eth0}.\n",
}
But if I try to create a user and group via Puppet I always get the following erorr messages:
Error: Could not find a suitable provider for user
Error: Could not find a suitable provider for group
Here is the manifest which produces these errors:
group { 'team-berlin':
ensure => present,
}
group { 'team-london':
ensure => present,
}
The types user and group should be present according to the output of puppet resource
:
$ puppet resource --types
...
file
filebucket
group
host
...
tidy
user
...
Why do I get this error messages? What did I miss?