Resolve Rubocop warnings

* Removed the useless assignment in the config_version.rb error catching
* Single quote vs. double quote in Puppetfile
This commit is contained in:
Nate McCurdy 2018-05-08 10:37:30 -07:00
parent aaa85a0e03
commit 36a2784275
2 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
forge "https://forge.puppet.com" forge 'https://forge.puppet.com'
# Modules from the Puppet Forge # Modules from the Puppet Forge
# Versions should be updated to be the latest at the time you start # Versions should be updated to be the latest at the time you start
#mod "puppetlabs/inifile", '1.5.0' #mod 'puppetlabs/inifile', '1.5.0'
#mod "puppetlabs/stdlib", '4.11.0' #mod 'puppetlabs/stdlib', '4.11.0'
#mod "puppetlabs/concat", '2.1.0' #mod 'puppetlabs/concat', '2.1.0'
# Modules from Git # Modules from Git
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples # Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples

View File

@ -2,7 +2,7 @@
begin begin
require 'rugged' require 'rugged'
require 'socket' require 'socket'
rescue LoadError => e rescue LoadError
t = Time.new t = Time.new
puts t.to_i puts t.to_i
else else