]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
no need to have these quotes
authormh <mh@immerda.ch>
Wed, 4 Dec 2013 21:57:47 +0000 (22:57 +0100)
committermh <mh@immerda.ch>
Wed, 4 Dec 2013 21:57:47 +0000 (22:57 +0100)
lib/puppet/parser/functions/ssh_keygen.rb

index d411a28f30cd251b9ee088d704b6e7d28b43e6cb..b732b87ad3e4becd2c1fd623ee0092551d4d8fad 100644 (file)
@@ -21,7 +21,7 @@ Puppet::Parser::Functions::newfunction(:ssh_keygen, :type => :rvalue, :doc =>
     unless [private_key_path,public_key_path].all?{|path| File.exists?(path) }
       output = Puppet::Util::Execution.execute(
         ['/usr/bin/ssh-keygen','-t', 'rsa', '-b', '4096', 
-         '-f', private_key_path, '-P', '\'\'', '-q'])
+         '-f', private_key_path, '-P', '', '-q'])
       raise Puppet::ParseError, "Something went wrong during key generation! Output: #{output}" unless output.empty?
     end
     [File.read(private_key_path),File.read(public_key_path)]