# File lib/puppet/provider/zone/solaris.rb, line 156
156:     def start
157:         # Check the sysidcfg stuff
158:         if cfg = @resource[:sysidcfg]
159:             zoneetc = File.join(@resource[:path], "root", "etc")
160:             sysidcfg = File.join(zoneetc, "sysidcfg")
161: 
162:             # if the zone root isn't present "ready" the zone
163:             # which makes zoneadmd mount the zone root
164:             zoneadm :ready unless File.directory?(zoneetc)
165: 
166:             unless File.exists?(sysidcfg)
167:                 begin
168:                     File.open(sysidcfg, "w", 0600) do |f|
169:                         f.puts cfg
170:                     end
171:                 rescue => detail
172:                     if Puppet[:debug]
173:                         puts detail.stacktrace
174:                     end
175:                     raise Puppet::Error, "Could not create sysidcfg: %s" % detail
176:                 end
177:             end
178:         end
179: 
180:         zoneadm :boot
181:     end