rrdgraph issues

24 views
Skip to first unread message

llowder

unread,
Nov 12, 2012, 10:54:57 AM11/12/12
to puppet...@googlegroups.com
I recently enabled the rrdgraph reporting on my 2.7.19 master.

I set it to create the graphs in /var/lib/puppet/rrd.

In order to be able to access the things from the web, I set this directory to have mode 755.

However, it keeps getting switched back to 750 during certain (all?) puppet runs.

I then added the directory to one of my manifests to have puppet enforce the desired permissions. Now I keep seeing "mode changed '0750' to '0775'" for this resource.

How can I make puppet stop fighting with itself and maintain the mode I want?

I'm on Ubuntu 10.04, with my puppet installed from packages.

Thank you.

Eric Sorenson

unread,
Nov 13, 2012, 1:41:38 PM11/13/12
to puppet...@googlegroups.com
use the attribute syntax in the config file, that way puppet won't clobber it

## puppet.conf
[main]
   rrddir = /var/lib/puppet/rrd { mode=0755 }

note this is currently not working under 3.0.1, tracking under #17371

llowder

unread,
Nov 13, 2012, 2:04:42 PM11/13/12
to puppet...@googlegroups.com


On Tuesday, November 13, 2012 12:41:38 PM UTC-6, Eric Sorenson wrote:
use the attribute syntax in the config file, that way puppet won't clobber it

## puppet.conf
[main]
   rrddir = /var/lib/puppet/rrd { mode=0755 }


That was mentioned to me in IRC, and it did fix it.
 
Reply all
Reply to author
Forward
0 new messages