HeyRafaella,

try this in your Vagrant File

        # provisioning with puppet
        server.vm.provision "puppet" do |puppet|
                puppet.manifests_path = "manifests"
                puppet.manifest_file = "db.pp"
                puppet.module_path = "modules"
        end

cheers felix

Am Dienstag, 20. Mai 2014 16:06:20 UTC+2 schrieb Rafaella Keury:
>
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/fac9a4b1-d20b-49c3-8d58-e47f539568c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to