Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transport.json not created when transport_type = rabbitmq #809

Closed
htallur opened this issue Sep 5, 2017 · 2 comments
Closed

transport.json not created when transport_type = rabbitmq #809

htallur opened this issue Sep 5, 2017 · 2 comments
Assignees
Labels

Comments

@htallur
Copy link

htallur commented Sep 5, 2017

Description of problem

transport.json is not created

incorrect logic in transport.pp

if $::sensu::transport_type != 'redis' {
$ensure = 'absent'
} else {
$ensure = 'present'
}

ensure = 'absent', when transport_type = 'redis' in transport.pp

@alvagante
Copy link
Collaborator

@htallur what's the expected behaviour? I suppose that a transport.json has to be created in any case , both with redis and rabbitmq transport .

I can eventually add a parameter $ensure to the sensu::transport class, to allow users to eventually force the removal of transport.json

alvagante added a commit to alvagante/sensu-puppet that referenced this issue Sep 5, 2017
alvagante added a commit to alvagante/sensu-puppet that referenced this issue Oct 23, 2017
@alvagante alvagante mentioned this issue Oct 23, 2017
4 tasks
alvagante added a commit to alvagante/sensu-puppet that referenced this issue Oct 23, 2017
ghoneycutt added a commit that referenced this issue Oct 23, 2017
@ghoneycutt
Copy link
Collaborator

Released in v2.37.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants