Skip to content

Commit

Permalink
Merge pull request #973 from psoloway/add-example-for-setenv-class
Browse files Browse the repository at this point in the history
Added code example for setenv class
  • Loading branch information
hunner committed Dec 31, 2014
2 parents 028fec8 + 1db205a commit 10f04ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,14 @@ Sets the servername corresponding to the hostname you connect to the virtual hos

Used by HTTPD to set environment variables for vhosts. Defaults to '[]'.

Example:

```puppet
apache::vhost { 'setenv.example.com':
setenv => ['SPECIAL_PATH /foo/bin'],
}
```

#####`setenvif`

Used by HTTPD to conditionally set environment variables for vhosts. Defaults to '[]'.
Expand Down

0 comments on commit 10f04ef

Please sign in to comment.