Re: [Puppet Users] managing some directories

2012-04-30 Thread Luke Bigum
Hi James, First off, if you "inherit server::directories" your server class gets all the variables in it's local namespace, so you can just use $server::directories::data_dir1 as $data_dir1 and don't have to worry about two levels of :: namespace :-) Can't you just use an array here? class

[Puppet Users] managing some directories

2012-04-30 Thread James Dehune
I need to manage some directories, ensure they are created/present, owner/groups/modes are correct.I have a static list of directories that will be present on this group of servers. However, down the road one of the nodes may need a new partition that the other nodes may not. I've created a "