graylog-labs / graylog2-puppet

[DEPRECATED] Puppet module to install and manage a Graylog 1.x system.
https://www.graylog.org/
MIT License
10 stars 28 forks source link

Mark graylog2::repo as optional #7

Closed jkroepke closed 9 years ago

jkroepke commented 9 years ago

Hi,

it is possible set graylog2::repo as optional class OR do not ensure the package apt-transport-https, if Apt::Source[$repo_name] is already defined?

If want to use an internal mirror as apt source which does not require https.

grafjo commented 9 years ago

hi @jkroepke have you seen the param baseurl of the repo class?

class {'graylog2::repo':
  version => '0.21',
  baseurl => 'http://foo.bar',
} 

maybe the apt repo class can check if the baseurl is https ...

jkroepke commented 9 years ago

Hi, yes I know this param. "maybe the apt repo class can check if the baseurl is https ..." This would be great.

jaxxstorm commented 9 years ago

I think the base URL isn't the best approach. I have spacewalk managing my yum repos rather than puppet, and the two conflict. Ideally a repo_manage parameter would be better

jkroepke commented 9 years ago

Thank you!