lib/puppet/provider/zone/solaris.rb in puppet-3.3.2 vs lib/puppet/provider/zone/solaris.rb in puppet-3.4.0.rc1
- old
+ new
@@ -259,10 +259,10 @@
# if the zone root isn't present "ready" the zone
# which makes zoneadmd mount the zone root
zoneadm :ready unless File.directory?(zoneetc)
- unless File.exists?(sysidcfg)
+ unless Puppet::FileSystem::File.exist?(sysidcfg)
begin
File.open(sysidcfg, "w", 0600) do |f|
f.puts cfg
end
rescue => detail