# File lib/puppet/provider/zone/solaris.rb, line 144 144: def setconfig(str) 145: command = "#{command(:cfg)} -z %s -f -" % @resource[:name] 146: debug "Executing '%s' in zone %s with '%s'" % [command, @resource[:name], str] 147: IO.popen(command, "w") do |pipe| 148: pipe.puts str 149: end 150: 151: unless $? == 0 152: raise ArgumentError, "Failed to apply configuration" 153: end 154: end