I can't seem to get the authorized_key type to work at all on my systems.  
Below is my configuration that I used.  I could have something missing but the 
examples I see make it difficult to compare.  Additionally if I try and do the 
reverse using puppet resource nothing comes up:

puppet resource ssh_authorized_key  (this returns nothing)

puppet resource ssh_authorized_key username  (this returns the following)

/usr/lib/ruby/site_ruby/1.8/puppet/type/ssh_authorized_key.rb:89:in `validate': 
undefined method `[]' for nil:NilClass (NoMethodError)
        from /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1738:in `initialize'
        from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/resource/ral.rb:5:in 
`new'
        from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/resource/ral.rb:5:in 
`find'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find'
        from /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/resource.rb:79:in 
`main'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:295:in 
`run_command'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in 
`exit_on_fail'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in 
`execute'
        from /usr/bin/puppet:4






My module's init.pp

http://pastebin.com/4aBYjJQq


Does anybody else have this working in their environment?



Corey Osman

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to