Puppet Masterless on Windows

557 views
Skip to first unread message

Spencer Thomason

unread,
Nov 18, 2013, 3:28:24 PM11/18/13
to puppet...@googlegroups.com, Spencer Thomason
Hi all,

I have been working on a configuration of a Masterless configuration on Windows.  I am able to get individual jobs to run like:

puppet apply <path to my puppet .pp file>

However, I would like to spin up the Vagrant box off a base VM, and have a puppet manifest file in a location where puppet knows to look and provision based off that file.  The obvious place seems to be C:\ProgramData\PuppetLabs\puppet\etc on Windows.  However, I can't seem to get the agent configured right to look at a manifest file in that directory or another directory.

Can someone provide some steps that I am missing for a "hello world" type puppet configuration for what I am talking about above?  

Thanks!

Spencer

Felix Frank

unread,
Nov 19, 2013, 9:28:00 AM11/19/13
to puppet...@googlegroups.com
Hi,

I haven't played with Vagrant, but your wording makes me ask:

Is there indeed an agent (as in `puppet agent` as opposed to `puppet
apply`) at work? Because that will never use a manifest from your local
machine. Puppet agent has the sole purpose of connecting to a master.

Cheers,
Felix

Rob Reynolds

unread,
Nov 19, 2013, 12:08:24 PM11/19/13
to puppet...@googlegroups.com
For vagrant, are you kicking off the commands with the vagrant puppet provisioner? And are you using vagrant-windows plugin?


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/528B7570.9070503%40alumni.tu-berlin.de.



--
Rob Reynolds
Developer, Puppet Labs

Join us at PuppetConf 2014September 23-24 in San Francisco

Message has been deleted

Rob Reynolds

unread,
Nov 21, 2013, 3:35:03 PM11/21/13
to puppet...@googlegroups.com
I would be explicit about telling vagrant where your modules folder is. e.g. https://github.com/ferventcoder/vagrant-windows-puppet/blob/master/boxes/win2008r2x64-vagrant/Vagrantfile#L34


On Thu, Nov 21, 2013 at 12:16 AM, Roger Yu <roge...@gmail.com> wrote:
yes i installed vagrant windows version and use vagrant provision command to trigger puppet provisioner
and as I mentioned above, manifest file base-hadoop.pp works fine, just init.pp under modules folder was not called


Rob Reynolds於 2013年11月19日星期二UTC-8上午9時08分24秒寫道:

For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages