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.

Reply via email to