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!!
> 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?
> > 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?
On Sat, Feb 11, 2012 at 09:31:36AM -0600, Jason Koppe wrote: > I do have /var/lib/puppet/lib/puppet/type/logical_volume.rb on my puppet > master and I still get the same error.
> On Wed, Dec 7, 2011 at 6:01 AM, Stefan Schulte < > stefan.schu...@taunusstein.net> wrote:
> -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> Can you provide your resource definition where you use the
> logical_volume type?
> -Stefan
> On Sat, Feb 11, 2012 at 09:31:36AM -0600, Jason Koppe wrote:
> > I do have /var/lib/puppet/lib/puppet/type/logical_volume.rb on my puppet
> > master and I still get the same error.
> > On Wed, Dec 7, 2011 at 6:01 AM, Stefan Schulte <
> > stefan.schu...@taunusstein.net> wrote:
> > --
> > 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+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.