Top Level Namespace
Defined Under Namespace
Modules: ChefLxc, Vagabond Classes: Chef, Lxc, LxcFileConfig
Instance Method Summary collapse
Instance Method Details
#load_current_resource ⇒ Object
1 2 3 4 5 6 7 8 9 10 11 |
# File 'lib/vagabond/cookbooks/lxc/providers/fstab.rb', line 1 def load_current_resource new_resource._lxc Lxc.new( new_resource.container, :base_dir => node[:lxc][:container_directory], :dnsmasq_lease_file => node[:lxc][:dnsmasq_lease_file] ) @loaded ||= {} node.run_state[:lxc] ||= Mash.new node.run_state[:lxc][:fstabs] ||= Mash.new node.run_state[:lxc][:fstabs][new_resource.container] ||= [] end |