Issue #1756 has been updated by luke. Category set to settings Status changed from Unreviewed to Accepted Assigned to set to community Priority changed from Normal to Low Target version set to unplanned Complexity changed from Unknown to Medium
It should say <code>class top</code> but somehow misses the 'class'. At least, that's the syntax error. It's also having a problem in that the mode is being printed as decimal rather than octal, so really it's two bugs. I'll file the mode bug. ---------------------------------------- Bug #1756: puppetd --genmanifest output has bad syntax http://projects.reductivelabs.com/issues/show/1756 Author: jsbillings Status: Accepted Priority: Low Assigned to: community Category: settings Target version: unplanned Complexity: Medium Affected version: 0.24.6 Keywords: puppetd --genmanifest doesn't create output that is syntactically correct. I've attached the output foo.pp. $ /usr/sbin/puppetd --version 0.24.6 $ /usr/sbin/puppetd --genmanifest > foo.pp $ puppet foo.pp Could not parse for environment production: Syntax error at 'class'; expected '}' at /home/jsbillin/foo.pp:2 I "fixed" foo.pp by removing the " top {" at the beginning and closing "}" before the includes. This file is foo2.pp. Now I see this: $ puppet foo2.pp err: Could not create /home/jsbillin/.puppet/var/clientbucket: Parameter mode failed: Could not convert "0488" to integer Parameter mode failed: Could not convert "0488" to integer It looks like all the file objects look something like this: file { '/home/jsbillin/.puppet/var/clientbucket': ensure => 'directory', loglevel => 'debug', backup => 'false', mode => '488' } Clearly, '488' isn't an octal value since it has 8s in it. Also, it's a string, not an integer. ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
