Sha256: 1ff80c3a5240e5342f84e8b7e8e175f202f58d94f88bca5c25e9e872d3610d5b
Contents?: true
Size: 864 Bytes
Versions: 3
Compression:
Stored size: 864 Bytes
Contents
# Description: ChefVault::ChefOffline class # Copyright 2013, Nordstrom, Inc. # 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. class ChefVault class ChefOffline attr_accessor :config_file def initialize(config_file) @config_file = config_file end def connect require 'chef' ::Chef::Config.from_file(@config_file) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chef-vault-1.2.5 | lib/chef-vault/chef/offline.rb |
chef-vault-1.2.4 | lib/chef-vault/chef/offline.rb |
chef-vault-1.2.3 | lib/chef-vault/chef/offline.rb |