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