You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing in an ubuntu 12.04 vagrant instance that is both server/client, enterprise enabled, the redis.json config is removed when config purge is set to true.
==> default: Info: Computing checksum on file /etc/sensu/conf.d/redis.json
==> default: Info: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]: Filebucketed /etc/sensu/conf.d/redis.json to puppet with sum ca24608064728ad61e8b846b16671979
==> default: Notice: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]/ensure: removed
From redis/config.pp:
if $sensu::_purge_config and !$sensu::server and !$sensu::api {
$ensure = 'absent'
} else {
$ensure = 'present'
}
I believe the issue is that with enterprise, we have to set $sensu::server and $sensu::api = false, so likely just need to add in an and !$sensu::enterprise. I will submit a pull request shortly.
The text was updated successfully, but these errors were encountered:
Testing in an ubuntu 12.04 vagrant instance that is both server/client, enterprise enabled, the redis.json config is removed when config purge is set to true.
==> default: Info: Computing checksum on file /etc/sensu/conf.d/redis.json
==> default: Info: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]: Filebucketed /etc/sensu/conf.d/redis.json to puppet with sum ca24608064728ad61e8b846b16671979
==> default: Notice: /Stage[main]/Sensu::Redis::Config/File[/etc/sensu/conf.d/redis.json]/ensure: removed
From redis/config.pp:
I believe the issue is that with enterprise, we have to set $sensu::server and $sensu::api = false, so likely just need to add in an and !$sensu::enterprise. I will submit a pull request shortly.
The text was updated successfully, but these errors were encountered: