I had put site-config in the manifests directory with my default.pp. After moving it to the parent of manifests, where my Vagrantfile is, it worked fine.
Thanks for the help. On Fri, Sep 12, 2014 at 4:53 AM, Christopher Wood < christopher_w...@pobox.com> wrote: > On Thu, Sep 11, 2014 at 11:50:21PM -0700, Mark Lybrand wrote: > > So I turned on verbose and debug. I have created a pastebin with the > > following: Vagrantfile, default.pp and output from "vagrant up". > What is > > going on and what, if anything should I be concerned about? Thanks in > > advance. > > Providers not existing, fine depending on your platform. It's a problem if > "precise32" doesn't have the apt or deb provider, it's not a problem if it > doesn't have the rpm provider. > > This part demonstrates a problem (the leading "err"): > > err: /Stage[main]//File[site-config]: Could not evaluate: Could not > retrieve information from environment production source(s) > file:/vagrant/site-config at /tmp/vagrant-puppet-1/manifests/default.pp:9 > > It looks like your file resource source isn't there. > > file { 'site-config': > path => "/etc/apache2/sites-enabled/000-default", > source => "/vagrant/site-config", > require => Package["apache2"], > } > > /vagrant/site-config either doesn't exist or is unreadable or something. > Given how vagrant is provisioning the host (and so putting the initial > files in place) you might look in the vagrantfile to see where vagrant is > putting said file. > > I've never used vagrant, but given this line: > > config.vm.synced_folder "../data", "/vagrant_data" > > Possibly the file is really /vagrant_data/site-config ? > > (Usually sources are puppet:// urls on a puppetmaster, but in this case > it's a file on the same host as the agent.) > > > > > [1]http://pastebin.com/Anr8Cj1D > > On Thu, Sep 11, 2014 at 9:40 AM, Mark Lybrand <[2]mlybr...@gmail.com> > > wrote: > > > > Activating debug might give me more info. I will look into how to > do > > that either in my vagrantfile or in my pp. Also pastebin is good. > I got > > nothing confidential going on. Thanks for the input. > > > > Mark > > > > On Sep 11, 2014 8:42 AM, "Christopher Wood" > > <[3]christopher_w...@pobox.com> wrote: > > > > On Thu, Sep 11, 2014 at 08:38:04AM -0700, Mark Lybrand wrote: > > > Resending to correct garbled subject line. > > > > > > On Sep 11, 2014 5:36 AM, "Mark Lybrand" > > <[1][4]mlybr...@gmail.com> wrote: > > > > > > I am trying to use puppet to provision a vagrant box and am > > trying to > > > understand the output. What is the best forum for getting > that > > type of > > > help? Is this group that forum? If so, I will post more > > details of my > > > set up and a listing of what I am getting. If this is not > the > > forum, I > > > would greatly appreciate any assistance you guys could > give me > > for > > > getting a handle on how to approach the output. Thanks in > > advance. > > > Mark > > > > You might have better luck understanding it if you ensure that the > > agent run happens with --debug turned on. That shows child process > > invocation syntax and you'll have an easier time relating what > you've > > put in your manifests to what puppet is doing. > > > > Apart from that, if your output is non-confidential you could > always > > put it on pastebin or something and ask about the bits you're > having > > issues with? > > > > (NB: My corporate firewall blocks me from pastebin. You'll > probably > > have to put it on a few of them, somebody on the list will have a > sane > > firewall entry for one of them.) > > > > > -- > > > 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 [2][5] > puppet-users+unsubscr...@googlegroups.com. > > > To view this discussion on the web visit > > > > > [3][6] > https://groups.google.com/d/msgid/puppet-users/3418f644-cc47-402a-9d53-b8dd178c8e43%40googlegroups.com > . > > > For more options, visit > > [4][7]https://groups.google.com/d/optout. > > > > > > -- > > > 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 [5][8]puppet-users+unsubscr...@googlegroups.com. > > > To view this discussion on the web visit > > > > > [6][9] > https://groups.google.com/d/msgid/puppet-users/CALsUBtxnQVOhzAGOA1SURYw7H1_hF5o%2BnUEqRfYEVVQOOFCRPQ%40mail.gmail.com > . > > > For more options, visit > > [7][10]https://groups.google.com/d/optout. > > > > > > References > > > > > > Visible links > > > 1. mailto:[11]mlybr...@gmail.com > > > 2. mailto:[12]puppet-users+unsubscr...@googlegroups.com > > > 3. > > [13] > https://groups.google.com/d/msgid/puppet-users/3418f644-cc47-402a-9d53-b8dd178c8e43%40googlegroups.com?utm_medium=email&utm_source=footer > > > 4. [14]https://groups.google.com/d/optout > > > 5. mailto:[15]puppet-users+unsubscr...@googlegroups.com > > > 6. > > [16] > https://groups.google.com/d/msgid/puppet-users/CALsUBtxnQVOhzAGOA1SURYw7H1_hF5o%2BnUEqRfYEVVQOOFCRPQ%40mail.gmail.com?utm_medium=email&utm_source=footer > > > 7. [17]https://groups.google.com/d/optout > > > > -- > > 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 [18]puppet-users+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > > [19] > https://groups.google.com/d/msgid/puppet-users/20140911154204.GA16772%40iniquitous.heresiarch.ca > . > > For more options, visit [20]https://groups.google.com/d/optout. > > > > -- > > Mark :) > > > > -- > > 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 [21]puppet-users+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > > [22] > https://groups.google.com/d/msgid/puppet-users/CALsUBtwPvVueL8SHVn1Ek-X0hL_6Rnq3VddH43mT%2Bb_HUSeP_A%40mail.gmail.com > . > > For more options, visit [23]https://groups.google.com/d/optout. > > > > References > > > > Visible links > > 1. http://pastebin.com/Anr8Cj1D > > 2. mailto:mlybr...@gmail.com > > 3. mailto:christopher_w...@pobox.com > > 4. mailto:mlybr...@gmail.com > > 5. mailto:puppet-users%2bunsubscr...@googlegroups.com > > 6. > https://groups.google.com/d/msgid/puppet-users/3418f644-cc47-402a-9d53-b8dd178c8e43%40googlegroups.com > > 7. https://groups.google.com/d/optout > > 8. mailto:puppet-users%2bunsubscr...@googlegroups.com > > 9. > https://groups.google.com/d/msgid/puppet-users/CALsUBtxnQVOhzAGOA1SURYw7H1_hF5o%2BnUEqRfYEVVQOOFCRPQ%40mail.gmail.com > > 10. https://groups.google.com/d/optout > > 11. mailto:mlybr...@gmail.com > > 12. mailto:puppet-users%2bunsubscr...@googlegroups.com > > 13. > https://groups.google.com/d/msgid/puppet-users/3418f644-cc47-402a-9d53-b8dd178c8e43%40googlegroups.com?utm_medium=email&utm_source=footer > > 14. https://groups.google.com/d/optout > > 15. mailto:puppet-users%2bunsubscr...@googlegroups.com > > 16. > https://groups.google.com/d/msgid/puppet-users/CALsUBtxnQVOhzAGOA1SURYw7H1_hF5o%2BnUEqRfYEVVQOOFCRPQ%40mail.gmail.com?utm_medium=email&utm_source=footer > > 17. https://groups.google.com/d/optout > > 18. mailto:puppet-users%2bunsubscr...@googlegroups.com > > 19. > https://groups.google.com/d/msgid/puppet-users/20140911154204.GA16772%40iniquitous.heresiarch.ca > > 20. https://groups.google.com/d/optout > > 21. mailto:puppet-users+unsubscr...@googlegroups.com > > 22. > https://groups.google.com/d/msgid/puppet-users/CALsUBtwPvVueL8SHVn1Ek-X0hL_6Rnq3VddH43mT%2Bb_HUSeP_A%40mail.gmail.com?utm_medium=email&utm_source=footer > > 23. https://groups.google.com/d/optout > > -- > 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/20140912115347.GA22109%40iniquitous.heresiarch.ca > . > For more options, visit https://groups.google.com/d/optout. > -- Mark :) -- 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/CALsUBtwGGDzm8WLPu1fYi5VE%2BsEOUA6bFc6HQXGagZDhb9ouog%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.