Class: Packerman::Dsl::Provisioners::ChefSolo

Inherits:
Builders show all
Includes:
Node
Defined in:
lib/packerman/dsl/provisioners/chef_solo.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Node

#initialize, #method_missing, #to_hash

Methods inherited from Packerman::Dsl

register, register_to_repo, to_subclass

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Packerman::Dsl::Node

Class Method Details

.optional_keysObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/packerman/dsl/provisioners/chef_solo.rb', line 9

def optional_keys
  [
    :chef_environment,
    :config_template,
    :cookbook_paths,
    :data_bags_path,
    :encrypted_data_bag_secret_path,
    :environments_path,
    :execute_command,
    :install_command,
    :json,
    :prevent_sudo,
    :remote_cookbook_paths,
    :roles_path,
    :run_list,
    :skip_install,
    :staging_directory
  ]
end

Instance Method Details

#typeObject



4
5
6
# File 'lib/packerman/dsl/provisioners/chef_solo.rb', line 4

def type
  "chef-solo"
end