Hi, following http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting I''m trying to confgiure reports in my frsh puppet install. But as my puppet version has some problems creating its own dirs (I''ve already opened a bug), rrd repots do not work: Jan 14 12:36:08 gridinstall puppetmasterd[30219]: (/Settings[top]/Settings[reports]/File[/var/lib/puppet/rrd/td065.pic.es]/ensure) change from absent to directory failed: Could not set directory on ensure: Permission denied - /var/lib/puppet/rrd/td065.pic.es Jan 14 12:36:08 gridinstall puppetmasterd[30219]: Report rrdgraph failed: Got 1 failure(s) while initializing: change from absent to directory failed: Could not set directory on ensure: Permission denied - /var/lib/puppet/rrd/td065.pic.es So, could someone, who already has rdd report confgiured, tell me te perms of that dir, and the other ones? # ls -lsa /var/lib/puppet/ total 52 4 drwxr-xr-x 12 puppet puppet 4096 Jan 14 12:34 . 8 drwxr-xr-x 22 root root 4096 Jan 13 09:49 .. 4 drwxr-x--- 2 puppet puppet 4096 Jan 9 12:03 bucket 4 drwxr-x--- 2 root root 4096 Jan 9 12:03 clientbucket 4 drwxr-x--- 2 root root 4096 Jan 9 12:03 client_yaml 4 drwxr-xr-x 2 root root 4096 Jan 9 12:03 lib 4 drwxr-xr-x 2 puppet puppet 4096 Jan 13 12:52 rdd 4 drwxr-xr-x 5 puppet puppet 4096 Jan 14 10:16 report 4 drwxrwxr-x 3 root root 4096 Jan 14 12:37 rrd 4 drwxr-xr-x 7 puppet puppet 4096 Jan 9 12:03 ssl 4 drwxr-xr-t 2 root root 4096 Jan 9 12:03 state 4 drwxr-x--- 4 puppet puppet 4096 Jan 9 12:10 yaml TIA, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jan 14, 2009, at 6:07 AM, Arnau Bria wrote:> > Hi, > > following http://reductivelabs.com/trac/puppet/wiki/ > ReportsAndReporting > I''m trying to confgiure reports in my frsh puppet install. > > But as my puppet version has some problems creating its own dirs (I''ve > already opened a bug), rrd repots do not work: > > > Jan 14 12:36:08 gridinstall puppetmasterd[30219]: (/Settings[top]/ > Settings[reports]/File[/var/lib/puppet/rrd/td065.pic.es]/ensure) > change from absent to directory failed: Could not set directory on > ensure: Permission denied - /var/lib/puppet/rrd/td065.pic.es > Jan 14 12:36:08 gridinstall puppetmasterd[30219]: Report rrdgraph > failed: Got 1 failure(s) while initializing: change from absent to > directory failed: Could not set directory on ensure: Permission > denied - /var/lib/puppet/rrd/td065.pic.es > > > So, could someone, who already has rdd report confgiured, tell me te > perms of that dir, and the other ones? > > > # ls -lsa /var/lib/puppet/ > total 52 > 4 drwxr-xr-x 12 puppet puppet 4096 Jan 14 12:34 . > 8 drwxr-xr-x 22 root root 4096 Jan 13 09:49 .. > 4 drwxr-x--- 2 puppet puppet 4096 Jan 9 12:03 bucket > 4 drwxr-x--- 2 root root 4096 Jan 9 12:03 clientbucket > 4 drwxr-x--- 2 root root 4096 Jan 9 12:03 client_yaml > 4 drwxr-xr-x 2 root root 4096 Jan 9 12:03 lib > 4 drwxr-xr-x 2 puppet puppet 4096 Jan 13 12:52 rdd > 4 drwxr-xr-x 5 puppet puppet 4096 Jan 14 10:16 report > 4 drwxrwxr-x 3 root root 4096 Jan 14 12:37 rrdThis directory needs to be owned by puppet/puppet.> > 4 drwxr-xr-x 7 puppet puppet 4096 Jan 9 12:03 ssl > 4 drwxr-xr-t 2 root root 4096 Jan 9 12:03 state > 4 drwxr-x--- 4 puppet puppet 4096 Jan 9 12:10 yaml > > > TIA, > Arnau > > >-- Millions long for immortality who do not know what to do with themselves on a rainy Sunday afternoon. -- Susan Ertz --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Wed, 14 Jan 2009 12:29:03 -0600 Luke Kanies wrote: [...]> This directory needs to be owned by puppet/puppet. > > > > > 4 drwxr-xr-x 7 puppet puppet 4096 Jan 9 12:03 ssl > > 4 drwxr-xr-t 2 root root 4096 Jan 9 12:03 state > > 4 drwxr-x--- 4 puppet puppet 4096 Jan 9 12:10 yamlThanks, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---