On Thu, Jul 2, 2009 at 7:32 AM, Arnau Bria<[email protected]> wrote:
>
> Hi all,
>
> my pre-commit script (copied from
> http://www.reductivelabs.com/trac/puppet/wiki/PuppetVersionControl)
> fails with error:
>
>
>  $ svn ci -m "nodo td007 a prod"
> Sending        manifests/nodes.pp
> Transmitting file data .svn: Commit failed (details follow):
> svn: 'pre-commit' hook failed with error output:
> /usr/lib/ruby/site_ruby/1.8/puppet/defaults.rb:102:in `handle': private 
> method `split' called for nil:NilClass (NoMethodError)
>
>
> which is a know issue according to same link mentioned above:

FWIW, it's also just been patched recently:

http://projects.reductivelabs.com/issues/2369


>
> If you get errors like this when committing:
>
> /usr/lib/ruby/site_ruby/1.8/puppet/defaults.rb:102:in `handle': private 
> method `split' called for nil:NilClass (NoMethodError)
>
> It's because the PATH environmental variable doesn't exist. It doesn't matter 
> what it is, but puppet wants it to be there. Try adding PATH="" somewhere in 
> the top of the pre-commit script.
>
> So, I've defined PATH var in both pre-commit and manifestch scripts but
> the errors is still there.
>
>
> Anyone knows how to solved this issue? is PATH var the only problem?
>
> TIA,
> Arnau
>
> >
>



-- 
Nigel Kersten
[email protected]
System Administrator
Google, Inc.

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

Reply via email to