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: 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
