Browse Source

Fix permissions on qdrouterd.sasldb

The saslpasswd2 is used to create users for the qdrouterd server. The
qdr_user provider needs to ensure permissions are correctly set for
the qdrouterd service to access the user data base during operation
(qdrouterd.sasldb).

Closes-Bug: #1707662
Change-Id: I60f2b4e1f11371098cfa29102fa12158b7b4acab
changes/57/489257/3
Andrew Smith 4 years ago
parent
commit
dcd40cae91
  1. 1
      lib/puppet/provider/qdr_user/sasl.rb

1
lib/puppet/provider/qdr_user/sasl.rb

@ -23,6 +23,7 @@ Puppet::Type.type(:qdr_user).provide(:sasl) do
raise Puppet::Error, "Failed to create user"
end
system("chmod '0644' '/var/lib/qdrouterd/qdrouterd.sasldb'")
end
def destroy

Loading…
Cancel
Save