Issue #1756 has been updated by tgeeky -. Status changed from Accepted to Closed
Closing this in favor of more recent, more documented bug: [[bug#8255]](http://projects.puppetlabs.com/issues/8255) ---------------------------------------- Bug #1756: puppetd --genmanifest output has bad syntax https://projects.puppetlabs.com/issues/1756 Author: Jonathan Billings Status: Closed Priority: Low Assignee: Category: settings Target version: unplanned Affected Puppet version: 0.24.6 Keywords: Branch: 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://projects.puppetlabs.com/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.
