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.
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',
…
}
See LICENSE file.