vendored/puppet/lib/puppet/environments.rb in bolt-0.17.1 vs vendored/puppet/lib/puppet/environments.rb in bolt-0.17.2

- old
+ new

@@ -113,11 +113,11 @@ # # @!macro loader_get_conf def get_conf(name) env = get(name) if env - Puppet::Settings::EnvironmentConf.static_for(env, 0, Puppet[:static_catalogs], Puppet[:rich_data]) + Puppet::Settings::EnvironmentConf.static_for(env, Puppet[:environment_timeout], Puppet[:static_catalogs], Puppet[:rich_data]) else nil end end end @@ -312,10 +312,10 @@ def self.cache_expiration_service @cache_expiration_service || DefaultCacheExpirationService.new end # Returns the end of time (the next Mesoamerican Long Count cycle-end after 2012 (5125+2012) = 7137, - # of for a 32 bit machine using Ruby < 1.9.3, the year 2038. + # or for a 32 bit machine using Ruby < 1.9.3, the year 2038. def self.end_of_time begin Time.gm(7137) rescue ArgumentError Time.gm(2038)