Skip to content

Commit 810fd5b

Browse files
committed
End files with a newline.
1 parent 1d52019 commit 810fd5b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

attributes/ruby.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
default['rvm']['default_ruby'] = "ruby-1.9.3-p429"
66

77
# Ruby version from the OS package manager
8-
default['ruby_package']['version'] = "ruby1.9.1-dev"
8+
default['ruby_package']['version'] = "ruby1.9.1-dev"

attributes/ssl.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Path on the VM to ssl certificate. You need to make sure the file get there
44
default['gitlab']['ssl_crt_path'] = ''
55
# Path on the VM to the unencrypted private key. You need to make sure the file get there
6-
default['gitlab']['ssl_key_path'] = ''
6+
default['gitlab']['ssl_key_path'] = ''

libraries/mysql_helper.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ def self.mysql_db_exists?(credentials, db)
1313
end
1414
end
1515

16+
# Make sure mysql has a user with +username+ with all privileges on localhost.
1617
def self.create_superuser(credentials, username, password)
1718
require 'mysql'
1819
conn = ::Mysql.connect(credentials[:host], credentials[:username], credentials[:password])
19-
r = conn.query("GRANT ALL ON *.* TO '#{username}'@'localhost' IDENTIFIED BY '#{password}'")
20-
Chef::Log.warn "Result: #{r.inspect}"
20+
conn.query("GRANT ALL ON *.* TO '#{username}'@'localhost' IDENTIFIED BY '#{password}'")
2121
ensure
2222
conn.close if conn
2323
end
24-
end
24+
end

recipes/redhat.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
include_recipe "yum::epel"
44

55
package "libicu-devel"
6-
package "openssl-devel"
6+
package "openssl-devel"

0 commit comments

Comments
 (0)