On Fri, Feb 20, 2009 at 05:52:09PM -0500, Brad Dixon wrote:
> I'd like to ensure that I've set-up various gconf settings for users.
> I cobbled together this little sad definition:
> 
>   define gconf($type, $value, $user) {
>     exec{"set $name to $value":

You probably want "set $name to $value for $user" to avoid duplicates...
Also, perhaps an "onlyif" parameter to avoid setting this every time
(unless gconftool already checks current value and no-ops if no change
is required).

-- 
Marcin Owsiany <mar...@owsiany.pl>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to