Bug #1596

Deploying file resources with ++ in name generates error.

Added by Gary Yuen over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:09/23/2008
Priority:Normal Due date:
Assignee:James Turnbull % Done:

0%

Category:fileserving
Target version:0.24.6
Affected Puppet version:0.24.4 Branch:
Keywords:
Votes: 0

Description

Using the file resource to deploy a directory, I get this error:

//Node[hostname]/class/File[/usr/local/lib/navicat8_mysql_en/wine/bin/wineg++] (err): Failed to generate additional resources during transaction: nested *?+ in regexp: /\/etc\/puppet-files\/navicat8_mysql_en\/wine\/bin\/wineg++/


Related issues

duplicated by Puppet - Bug #1685: filenames with ++ in their name are not handled properly Duplicate 10/24/2008

History

Updated by James Turnbull over 3 years ago

  • Category set to fileserving
  • Status changed from Unreviewed to Accepted

Updated by Luke Kanies over 3 years ago

Can I get a stack trace with —trace?

Updated by Gary Yuen over 3 years ago

of course :)

/usr/lib/ruby/1.8/puppet/network/xmlrpc/client.rb:55:in list' /usr/lib/ruby/1.8/puppet/network/client/proxy.rb:15:insend' /usr/lib/ruby/1.8/puppet/network/client/proxy.rb:15:in list' /usr/lib/ruby/1.8/puppet/type/file.rb:862:insourcerecurse' /usr/lib/ruby/1.8/puppet/type/file.rb:853:in each' /usr/lib/ruby/1.8/puppet/type/file.rb:853:insourcerecurse' /usr/lib/ruby/1.8/puppet/type/file.rb:719:in recurse' /usr/lib/ruby/1.8/puppet/type/file.rb:340:ineval_generate' /usr/lib/ruby/1.8/puppet/transaction.rb:192:in eval_generate' /usr/lib/ruby/1.8/puppet/transaction.rb:227:ineval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:243:in eval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:242:ineach' /usr/lib/ruby/1.8/puppet/transaction.rb:242:in eval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:243:ineval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:242:in each' /usr/lib/ruby/1.8/puppet/transaction.rb:242:ineval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:243:in eval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:242:ineach' /usr/lib/ruby/1.8/puppet/transaction.rb:242:in eval_resource' /usr/lib/ruby/1.8/puppet/transaction.rb:309:inevaluate' /usr/lib/ruby/1.8/puppet/util.rb:445:in thinmark' /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure' /usr/lib/ruby/1.8/benchmark.rb:307:in realtime' /usr/lib/ruby/1.8/puppet/util.rb:444:inthinmark' /usr/lib/ruby/1.8/puppet/transaction.rb:308:in evaluate' /usr/lib/ruby/1.8/puppet/transaction.rb:302:incollect' /usr/lib/ruby/1.8/puppet/transaction.rb:302:in evaluate' /usr/lib/ruby/1.8/puppet/node/catalog.rb:118:inapply' /usr/lib/ruby/1.8/puppet/network/client/master.rb:264:in run' /usr/lib/ruby/1.8/puppet/util.rb:212:inbenchmark' /usr/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/lib/ruby/1.8/benchmark.rb:307:inrealtime' /usr/lib/ruby/1.8/puppet/util.rb:211:in benchmark' /usr/lib/ruby/1.8/puppet/network/client/master.rb:263:inrun' /usr/lib/ruby/1.8/sync.rb:230:in synchronize' /usr/lib/ruby/1.8/puppet/network/client/master.rb:245:inrun' /usr/lib/ruby/1.8/puppet/network/client.rb:136:in runnow' /usr/lib/ruby/1.8/puppet/network/client.rb:187:instart' /usr/lib/ruby/1.8/puppet.rb:336:in start' /usr/lib/ruby/1.8/puppet.rb:187:innewthread' /usr/lib/ruby/1.8/puppet.rb:186:in initialize' /usr/lib/ruby/1.8/puppet.rb:186:innew' /usr/lib/ruby/1.8/puppet.rb:186:in newthread' /usr/lib/ruby/1.8/puppet.rb:334:instart' /usr/lib/ruby/1.8/puppet.rb:333:in each' /usr/lib/ruby/1.8/puppet.rb:333:instart' /usr/sbin/puppetd:459 err: //Node[yutu]/soho::desktopdev/File[/root/test/navicat8_mysql_en/wine/bin/wineg++]: Failed to generate additional resources during transaction: nested *?+ in regexp: /\/etc\/puppet-files\/navicat8_mysql_en\/wine\/bin\/wineg++/

Updated by Luke Kanies over 3 years ago

  • Assignee set to Paul Nasrat
  • Target version set to 0.24.6

Updated by Paul Nasrat over 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

See mailing list for discussion

Updated by Luke Kanies over 3 years ago

  • Status changed from In Topic Branch Pending Review to Ready For Checkin
  • Assignee changed from Paul Nasrat to James Turnbull

Works for me.

Updated by James Turnbull over 3 years ago

  • Status changed from Ready For Checkin to Closed

Pushed in commit:b2f0d872a273760c5ac65663685faea9be9ecfd5 in branch 0.24.x

Updated by Luke Kanies over 3 years ago

  • Status changed from Closed to Re-opened

Updated by Luke Kanies over 3 years ago

  • Status changed from Re-opened to Closed

Closing again, since I can’t reproduce.

Also available in: Atom PDF