Hi, yep, that was it, the first row was Tab - idented.
Now, however I get another error, connected to the use of the default $title parameter for the *define* resources. # puppet agent -t --verbose --environment development --tags sshkeys Info: Retrieving plugin Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb Error: Could not retrieve catalog from remote server: Error 400 on SERVER: title is not an hash or array when accessing it with keyname at /puppet/environments/development/modules/sshkeys/manifests/init.pp:20 on node mynode.mydomain.my Row 20 in init.pp is exactly this: define keyentry() { $keyname = $title['keyname'] $key = $title['key'] $keytype = $title['keytype'] $keyuser = $title['keyuser'] $ensure = $title['ensure'] ? { 'present' => 'present', 'absent' => 'absent', default => 'present' } ssh_authorized_key {$keyname: ensure => $ensure, key => $key, type => $keytype, user => $keyuser } } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c7ab021c-4810-4c1f-adfb-2216f6c77181%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.