X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Frabbitmq%2Flib%2Ffacter%2Ferl_ssl_path.rb;fp=3rdparty%2Fmodules%2Frabbitmq%2Flib%2Ffacter%2Ferl_ssl_path.rb;h=0000000000000000000000000000000000000000;hb=24caa46729f80fbba4be8b9b26ebcb3acc4cb0fb;hp=c8f41f69b18d2eb745c10a174f09f04a26da33e2;hpb=c7e7bcc28cc5dc48a7e284a3c82f33df27d1f57d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/rabbitmq/lib/facter/erl_ssl_path.rb b/3rdparty/modules/rabbitmq/lib/facter/erl_ssl_path.rb deleted file mode 100644 index c8f41f69b..000000000 --- a/3rdparty/modules/rabbitmq/lib/facter/erl_ssl_path.rb +++ /dev/null @@ -1,13 +0,0 @@ -# Fact to get the ssl path for the erlang distribution in the current -# system as described in the RabbitMQ docs [1]. -# -# [1] https://www.rabbitmq.com/clustering-ssl.html -Facter.add(:erl_ssl_path) do - setcode do - if Facter::Util::Resolution.which('erl') - data = Facter::Core::Execution.execute("erl -eval 'io:format(\"~p\", [code:lib_dir(ssl, ebin)]),halt().' -noshell") - # erl returns the string with quotes, strip them off - data.gsub!(%r{\A"|"\Z}, '') - end - end -end