Skip to content

ahmadsherif/salty-vagrant-grains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salty Vagrant Grains

Set SaltStack grains from Vagrantfile

Installation

vagrant plugin install salty-vagrant-grains

Usage

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = 'saucy64'

  config.vm.provision :salt do |salt|
    salt.grains({
      roles: ['webserver', 'memcache'],
      deployment: 'datacenter4',
      cabinet: '13',
      cab_u: '14-15',
    })

    salt.grains({
      cab_u: '14-15',
    })
  end
end

About

Set SaltStack grains from Vagrantfile

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages