Repository: puppet-gor
Puppet module for Gor
- Ownership
- #govuk-platform-reliability-team
- Hosting
- N/A
- Category
- Utilities
README
Puppet module for Gor.
Installs Gor, configures an upstart job with the appropriate arguments, and
starts the service. You will need to provide your own gor
package.
Example usage
Pass some arguments:
class { 'gor':
args => {
'-input-raw' => 'localhost:7999',
'-output-http-header' => 'User-Agent: gor',
'-output-http' => 'https://staging.example.com',
},
}
The same argument can be specified multiple times by passing an array:
class { 'gor':
args => {
…
'-output-http-method' => [
'GET', 'HEAD', 'OPTIONS'
],
},
}
To install a specific version of the Gor package:
class { 'gor':
package_ensure => '1.2.3',
…
}
To prevent the service from starting:
class { 'gor':
service_ensure => 'stopped',
…
}
License
See LICENSE file.