{"push_id":1468901802,"size":1,"distinct_size":1,"ref":"refs/heads/PUP-1526-add-environment-settings-to-package-type","head":"1d27cd73af004d0bf0e2afb84c2f2d456f4b8841","before":"a80498bf24e712fd83efeaefd06b4adcbf52360e","commits":[{"sha":"1d27cd73af004d0bf0e2afb84c2f2d456f4b8841","author":{"name":"Johnson Earls","email":"6bc190ca9626a77276de0a94aa4ceb900caf46ce@oracle.com"},"message":"(PUP-1526) Add environment settings for package type\n\nThis patch adds to the package type the `:settable_environment` feature\nand the `:environment` parameter used by that feature.  `:environment`\nis either a string of the form \"NAME=VALUE\" or an array of such strings.\n\nThe Puppet::Provider::Package is modified to include wrapped versions\nof the `execute`, `execpipe`, and `has_command` methods which include\nthe custom environment if the calling resource defines it.  This\nincludes a required modification to the `CommandDefiner` class in\nPuppet::Provider to allow the executor and resolver to be overridden.\n\nAll package providers are modified to use the Puppet::Provider::Package\nversions of `execute`, `execpipe`, and `has_command`.\n\nThe `yum` package provider is updated to actually support the\n`environment` parameter and `:settable_environment` feature.\n\nFinally, the `spec` tests for the `package` type and `yum` provider\nare updated to test for the `:settable_environment` feature and the\n`environment` parameter.","distinct":true,"url":"https://api.github.com/repos/jearls/puppet/commits/1d27cd73af004d0bf0e2afb84c2f2d456f4b8841"}]}
{"actor":{"display_login":"jearls"}}