Corey Osman
2012-Oct-10 19:34 UTC
[Puppet Users] Set a windows environment variable from manifest
I want to setup java jdk and maven and need to set some environment variables that stick around after reboot. I also need to add to values to the path variable so I can call via the command line. What''s the best way to set permanent environment variables for windows via the manifest? Is there a custom type for this? Corey -- 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.
Josh Cooper
2012-Oct-10 19:47 UTC
Re: [Puppet Users] Set a windows environment variable from manifest
Hi Corey, On Wed, Oct 10, 2012 at 12:34 PM, Corey Osman <corey@logicminds.biz> wrote:> I want to setup java jdk and maven and need to set some environment > variables that stick around after reboot. I also need to add to values to > the path variable so I can call via the command line. What''s the best way > to set permanent environment variables for windows via the manifest? > > Is there a custom type for this? > > Corey > > -- > 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.I think Jeff Sussna has something. I''ve also started writing a type/provider for this, but have been too busy with other things. https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/68ebrAEUzgQ Josh -- Josh Cooper Developer, Puppet Labs -- 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.