On Wed, Jun 15, 2011 at 8:56 AM, Gabriel Filion <lelu...@gmail.com> wrote:
> On 11-06-14 04:39 PM, Nigel Kersten wrote: > > On Tue, Jun 14, 2011 at 1:26 PM, Gabriel Filion <lelu...@gmail.com > > <mailto:lelu...@gmail.com>> wrote: > > I'm trying to test out new features of a module before I deploy it > and I > > have difficulty with the functions declared by the module. > > > > I'm using an enviroment called "development" where I dropped the > "new" > > module and would like to test on a node with the following: > > > > puppetd --environment=development -t --noop > > > > I can see that the file containing the function gets created but > puppet > > complains that it doesn't know the function in question: > > > > Functions get executed master side, so even though they get delivered to > > the node, they need to be accessible on the master. > > oh, ok.. so I'd need to have that new plugin used by the master first? > > > What version of Puppet are you running on the master and nodes? > > master: 0.25.4 > node: 0.25.4 > > Ah. For that version, you'll need to make sure the function is in the libdir of the puppet master, as I believe that functions from environments weren't accessible to the master in 0.25.x -- 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.