In general, I'd say you would have to put the variables into a configuration file for the service (via a template, or an augeas resource), or if the service is managed by systemd, in the relevant '???.service' file.
On Tuesday, 7 November 2017 16:27:39 UTC+2, Andrei wrote: > > Hello, > is there a way to configure a set of environment variables to be available > to a Service resource similar to what Exec supports? > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/02333d31-1f73-4abf-8f9d-1c0146397790%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
