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:
parent
aaa85a0e03
commit
36a2784275
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user