Issue #1756 has been reported by jsbillings.
----------------------------------------
Bug #1756: puppetd --genmanifest output has bad syntax
http://projects.reductivelabs.com/issues/show/1756
Author: jsbillings
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
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
-~----------~----~----~----~------~----~------~--~---