lib/chef/knife/cluster_proxy.rb in ironfan-5.0.11 vs lib/chef/knife/cluster_proxy.rb in ironfan-6.0.0
- old
+ new
@@ -13,12 +13,10 @@
# 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 File.expand_path('ironfan_script', File.dirname(File.realdirpath(__FILE__)))
-require File.expand_path('cluster_ssh', File.dirname(File.realdirpath(__FILE__)))
+require_relative '../cluster_knife'
class Chef
class Knife
#
# Runs the ssh command to open a SOCKS proxy to the given host, and writes a