Hello,
I'm using Vagrant and i'm trying to use Puppet as a tool for
provisioning
one of my virtual machines.
I created a folder named 'manifests' in the same directory of my
VagrantFile. Inside the 'manifests' folder I created a file named db.pp
with the following content:
"exec { "apt-update":
command => "/usr/bin/apt-get update"
}
package { "mysql-server":
ensure => installed,
require => Exec["apt-update"],
}"
My VagrantFile looks like this:
"VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise32"
config.vm.define :db do |db_config|
db_config.vm.network :private_network, :ip => "192.168.33.10"
db_config.vm.provision "puppet" do |puppet|
puppet.manifest_file = "db.pp"
end
end"
But when I type vagrant up db on command line, I receive the following
error message:
"The configured puppet manifest is missing. Please specify a path to an
existing manifest"
Does anyone know what is it?
My OS is Windows 7.
Thanks a lot!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/40e0040c-7634-4f6c-865c-f31357ff8cb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.