http://pastie.org/private/t9nl5wa91bd6rx1afad7sq is a pastie of my changes to https://github.com/puppetlabs/puppet-lvm and the error i'm seeing is
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter physical_volume at file.pp:26 at node On Dec 6, 12:22 pm, Jason Koppe <jason.robert.ko...@gmail.com> wrote: > restarting the puppet master didn't help me. > > On Nov 15, 12:10 am, Gonzalo Servat <gser...@gmail.com> wrote: > > > > > > > > > ... and I just found this > > (http://docs.puppetlabs.com/guides/troubleshooting.html): > > err: Could not retrieve catalog: Invalid parameter ‘foo’ for type ‘bar’ > > > When you are developing new custom types, you should restart both the > > puppetmasterd and the puppetd before running the configuration using the > > new custom type. The pluginsync feature will then synchronise the files and > > the new code will be loaded when both daemons are restarted. > > > Restarted puppetmaster and it's now OK. Caused me many hours of grief!! > > > - Gonzalo > > > On Tue, Nov 15, 2011 at 4:48 PM, Gonzalo Servat <gser...@gmail.com> wrote: > > > Hi All, > > > > I've downloaded a Puppet module and I'm trying to add a parameter to it by > > > editing lib/puppet/type/<resource>.rb. I simply added: > > > > newproperty(:pcfree) do > > > desc "My description here" > > > end > > > > In the corresponding file in lib/puppet/provider, I do something with > > > :pcfree. > > > > Whenever I call the resource from Puppet with my new parameter, it keeps > > > saying "Invalid parameter pcfree". > > > > Do I have to define the new parameter in any other file? > > > > Thanks in advance. > > > > - Gonzalo -- 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.