Add basic environment support

Ok it looks like that code was added in https://github.com/sodabrew/puppet-dashboard/commit/854b7e2707a0780019d552c89cc2923157748df6 which didn't create a reference to it (perhaps an unintentional commit?). Other than that a grep shows no other usage so we should be good.