Class: VagrantSalt::Provisioner::Config
- Inherits:
-
Vagrant::Config::Base
- Object
- Vagrant::Config::Base
- VagrantSalt::Provisioner::Config
- Defined in:
- lib/vagrant-salt/provisioner.rb
Instance Attribute Summary collapse
-
#minion_config ⇒ Object
Returns the value of attribute minion_config.
-
#minion_key ⇒ Object
Returns the value of attribute minion_key.
-
#minion_pub ⇒ Object
Returns the value of attribute minion_pub.
-
#run_highstate ⇒ Object
Returns the value of attribute run_highstate.
-
#salt_install_args ⇒ Object
Returns the value of attribute salt_install_args.
-
#salt_install_type ⇒ Object
Returns the value of attribute salt_install_type.
-
#temp_config_dir ⇒ Object
Returns the value of attribute temp_config_dir.
Instance Method Summary collapse
Instance Attribute Details
#minion_config ⇒ Object
Returns the value of attribute minion_config.
4 5 6 |
# File 'lib/vagrant-salt/provisioner.rb', line 4 def minion_config @minion_config end |
#minion_key ⇒ Object
Returns the value of attribute minion_key.
6 7 8 |
# File 'lib/vagrant-salt/provisioner.rb', line 6 def minion_key @minion_key end |
#minion_pub ⇒ Object
Returns the value of attribute minion_pub.
7 8 9 |
# File 'lib/vagrant-salt/provisioner.rb', line 7 def minion_pub @minion_pub end |
#run_highstate ⇒ Object
Returns the value of attribute run_highstate.
8 9 10 |
# File 'lib/vagrant-salt/provisioner.rb', line 8 def run_highstate @run_highstate end |
#salt_install_args ⇒ Object
Returns the value of attribute salt_install_args.
10 11 12 |
# File 'lib/vagrant-salt/provisioner.rb', line 10 def salt_install_args @salt_install_args end |
#salt_install_type ⇒ Object
Returns the value of attribute salt_install_type.
9 10 11 |
# File 'lib/vagrant-salt/provisioner.rb', line 9 def salt_install_type @salt_install_type end |
#temp_config_dir ⇒ Object
Returns the value of attribute temp_config_dir.
5 6 7 |
# File 'lib/vagrant-salt/provisioner.rb', line 5 def temp_config_dir @temp_config_dir end |
Instance Method Details
#bootstrap_options ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/vagrant-salt/provisioner.rb', line 25 def = '' if temp_config_dir = + '-c %s' % temp_config_dir end = + ' %s %s' % [salt_install_type, salt_install_args] return end |
#expanded_path(root_path, rel_path) ⇒ Object
21 22 23 |
# File 'lib/vagrant-salt/provisioner.rb', line 21 def (root_path, rel_path) Pathname.new(rel_path).(root_path) end |