Sha256: 2ed19d54a2a0257d5f3bc193fbbcbc5be2db82a1bb085351fd2cb8c0d25f8eba
Contents?: true
Size: 858 Bytes
Versions: 6
Compression:
Stored size: 858 Bytes
Contents
# @see http://docs.vagrantup.com/v2/provisioning/shell.html class ConfigBuilder::Model::Provisioner::Shell < ConfigBuilder::Model::Base # @!attribute [rw] inline # @return [String] The inline shell command to run def_model_attribute :inline # @!attribute [rw] path # @return [String] The path to the shell script to run def_model_attribute :path # @!attribute [rw] args # @return [String] A string acting as an argument vector to the command. def_model_attribute :args def to_proc Proc.new do |vm_config| vm_config.provision :shell do |shell_config| shell_config.inline = attr(:inline) if attr(:inline) shell_config.path = attr(:path) if attr(:path) shell_config.args = attr(:args) if attr(:args) end end end ConfigBuilder::Model::Provisioner.register('shell', self) end
Version data entries
6 entries across 6 versions & 1 rubygems