lib/down.rb in forj-0.0.24 vs lib/down.rb in forj-0.0.25

- old
+ new

@@ -13,10 +13,11 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +require 'rubygems' require 'require_relative' require_relative 'network.rb' include Network require_relative 'yaml_parse.rb' @@ -29,12 +30,12 @@ # module Down def down(name) begin - puts format('deleting %{name}...', name: name) + puts 'deleting %s...' % [name] - definitions = YamlParse::get_values('../lib/catalog.yaml') + definitions = YamlParse::get_values('catalog.yaml') # get the subnet subnet = Network::get_subnet(name) # delete the router interface