Paul Stepowski
2010-Dec-16 02:08 UTC
[Puppet Users] err: Could not call puppetbucket.addfile: #<RuntimeError: HTTP-Error: 500 Internal Server Error >
Puppet version: 0.24.8 (Red Hat Enterprise Linux Server release 5.3 (Tikanga))
My module runs fine but when I change the file on the server side I get the
error:
err: Could not call puppetbucket.addfile: #<RuntimeError: HTTP-Error: 500
Internal Server Error >
Note that I''m running puppet locally, the idea being I want to fun it
from cron so puppet scales well.
Details below:
My module:
---snip---
# cat /var/puppet-local/modules/test/manifests/init.pp
class test {
file { "/etc/puppet-test":
owner => root,
group => root,
mode => 600,
source => "puppet:///test/test",
}
}
---snip---
The dummy file I''m trying to propagate:
---snip---
# cat /var/puppet-local/modules/test/files/test
1
---snip---
The error:
---snip---
# /usr/local/site/puppet/bin/puppet --verbose --debug
--modulepath=/var/puppet-local/modules /var/puppet-local/manifests/site.pp
debug: importing ''/var/puppet-local/manifests/modules.pp''
debug: importing
''/var/puppet-local/modules/test/manifests/init.pp''
debug: importing ''/var/puppet-local/manifests/classes.pp''
debug: importing ''/var/puppet-local/manifests/nodes.pp''
debug: File[/etc/puppet-test]: Adding default for backup
info: mount[localhost]: Mounted /
info: mount[modules]: Mounted
info: mount[plugins]: Mounted
debug: Creating default schedules
debug: Failed to load library ''ldap'' for feature
''ldap''
debug: Failed to load library ''shadow'' for feature
''libshadow''
debug: //Node[default]/linux/test/File[/etc/puppet-test]/checksum: Initializing
checksum hash
debug: //Node[default]/linux/test/File[/etc/puppet-test]: Creating checksum
{md5}b026324c6904b2a9cb4b88d6d61c81d1
debug: //Node[default]/linux/test/File[/etc/puppet-test]: Changing source
debug: //Node[default]/linux/test/File[/etc/puppet-test]: 1 change(s)
debug: Calling puppetbucket.addfile
warning: peer certificate won''t be verified in this SSL session
err: Could not call puppetbucket.addfile: #<RuntimeError: HTTP-Error: 500
Internal Server Error >
err: //Node[default]/linux/test/File[/etc/puppet-test]/source: change from
{md5}26ab0db90d72e28ad0ba1e22ee510510 to puppet:///test/test failed: HTTP-Error:
500 Internal Server Error
debug: Finishing transaction -606223158 with 1 changes
---snip---
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.