OSDN Git Service

add yarn-installer recipe to the nodejs_utils cookbook.
[metasearch/grid-chef-repo.git] / roles / ptolemy-gm.rb
index 3dc3612..b2b4d71 100644 (file)
@@ -1,5 +1,21 @@
-$LOAD_PATH.push("#{File.dirname(__FILE__)}/../_lib")
-#${chef-repo}/_lib/grid.rb
+#
+# Copyright 2013-2014, whitestar
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# 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.
+#
+
+$LOAD_PATH.push("#{File.dirname(__FILE__)}/_lib")
+#${chef-repo}/roles/_lib/grid.rb
 require 'grid'
 require 'rubygems'
 require 'bracecomp'
@@ -34,7 +50,7 @@ this_subcluster[:nodes].first(2).each {|host|
     {
       'mcast_join' => '',
       'host' => "#{host}.#{Grid::DOMAIN}",
-      #'host' => IPSoket.getaddress("#{host}.#{Grid::DOMAIN}"),
+      #'host' => IPSocket.getaddress("#{host}.#{Grid::DOMAIN}"),
       'port' => port,
       'ttl' => ''
     }