vendored/puppet/lib/puppet/provider/zone/solaris.rb in bolt-0.15.0 vs vendored/puppet/lib/puppet/provider/zone/solaris.rb in bolt-0.16.0

- old
+ new

@@ -79,11 +79,11 @@ if ip "remove net address=#{ip}" elsif interface "remove net physical=#{interface}" else - raise ArgumentError, "can not remove network based on default router" + raise ArgumentError, _("can not remove network based on default router") end else self.fail action end end @@ -153,10 +153,10 @@ @property_hash.clear command = "#{command(:cfg)} -z #{@resource[:name]} -f -" r = exec_cmd(:cmd => command, :input => str) if r[:exit] != 0 or r[:out] =~ /not allowed/ - raise ArgumentError, "Failed to apply configuration" + raise ArgumentError, _("Failed to apply configuration") end end def install if @resource[:clone] # TODO: add support for "-s snapshot"