On 2014-05-16 15:49,
joan.mass...@gmail.com wrote:
> Hello
> I have a local puppet client installed in my machine.
> I downolad
https://github.com/swanke/puppet-users.git to manage linux users
> I try to do a probe with the test folder:
> puppet apply /root/git/puppet-users/tests/init.pp
> Error: Puppet::Parser::AST::Resource failed with error ArgumentError:
> Invalid resource type users::group at
> /root/git/puppet-users/tests/init.pp:6 on node
puppet.client.com
> Wrapped exception:
> Invalid resource type users::group
> Error: Puppet::Parser::AST::Resource failed with error ArgumentError:
> Invalid resource type users::group at
> /root/git/puppet-users/tests/init.pp:6 on node
puppet.client.com
>
> Inside test folder have 3 files:
> init.pp
> #class { 'users': }
> class users {}
> users::group { 'phononet':
> ensure => $user1_ensure,
> gid => '555',
> }
Your group.pp contains a resource, not a define. Puppet doesn't know