Resource Type: vagrant_vm
- Defined in:
- lib/puppet/type/vagrant_vm.rb
- Providers:
-
vagrant_vm
Overview
vagrant_vm a file
Properties
-
box
(defaults to: centos/7)
The vagrant box image to use
Supported values:- /^\S+$/
-
certname
Use this certname instead of the default (fqdn)
Supported values:- /^\S+$/
-
challenge_password
Challenge password to embed in the CSR when requesting access to puppet
Supported values:- /^\S+$/
-
cpu
(defaults to: 1)
vCPUs to allocate to this VM
-
ensure
(defaults to: present)
Create or remove the vagrant_vm
Supported values:- present
- absent
- running
- stopped
-
ip
IP address
-
memory
(defaults to: 512)
Memory to allocate to this VM in MB
-
pp_role
Trusted fact ‘pp_role` for this node
Supported values:- /^\S+$/
-
provision
(defaults to: 1)
Provision script to run after booting VM (and installing puppet if requested)
-
puppet_master_fqdn
fqdn of puppet master to connect this VM to
Supported values:- /^\S+$/
-
puppet_master_ip
IP address of puppet master if not in DNS
Supported values:- /^\S+$/
Parameters
-
name (namevar)
Name of this VM instance
-
provider
The specific backend to use for this ‘vagrant_vm` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
synced_folder
Array of synced folders to use
-
user
(defaults to: vagrant)
User to run VM as