-$LOAD_PATH.push("#{File.dirname(__FILE__)}/../_lib")
-#${chef-repo}/_lib/grid.rb
+#
+# Copyright 2013-2016, 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'
name 'grid-ns'
description 'Grid nameservice node'
run_list(
- # TODO:
'role[node_commons]',
- 'role[grid-realm]',
- 'role[ganglia-gmond]'
+ 'role[krb5-client-grid]',
+ 'role[ldap-client-grid]',
+ #'role[ganglia-gmond]'
)
-#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []
+#env_run_lists()
this_subcluster = Grid::CLUSTERS[:base][:nameservices]
mcast_addr = this_subcluster[:mcast_addr]