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 -- 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/89f86dac-5928-4931-9556-ace4bcb0ea2c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
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 On 11/18/2013 09:28 PM, Spencer Thomason wrote:> 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-- 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/528B7570.9070503%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
For vagrant, are you kicking off the commands with the vagrant puppet provisioner? And are you using vagrant-windows plugin? On Tue, Nov 19, 2013 at 8:28 AM, Felix Frank < felix.frank@alumni.tu-berlin.de> wrote:> 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 > > On 11/18/2013 09:28 PM, Spencer Thomason wrote: > > 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 > > -- > 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/528B7570.9070503%40alumni.tu-berlin.de > . > For more options, visit https://groups.google.com/groups/opt_out. >-- Rob Reynolds Developer, Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco -- 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/CAMJiBK6tux0JVsJxOpAUfQME-FnDRzDm1fByHWnjP02YC%2B6fdw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
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 vagrant, are you kicking off the commands with the vagrant puppet > provisioner? And are you using vagrant-windows plugin? > > > On Tue, Nov 19, 2013 at 8:28 AM, Felix Frank <felix...@alumni.tu-berlin.de<javascript:> > > wrote: > >> 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 >> >> On 11/18/2013 09:28 PM, Spencer Thomason wrote: >> > 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 >> >> -- >> 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 <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/528B7570.9070503%40alumni.tu-berlin.de >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Rob Reynolds > Developer, Puppet Labs > > Join us at PuppetConf 2014, September 23-24 in San Francisco >-- 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/6d7a58d1-b1c3-4e06-bcc8-9fc0bfacb68b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
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 <rogeryu28@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 vagrant, are you kicking off the commands with the vagrant puppet >> provisioner? And are you using vagrant-windows plugin? >> >> >> On Tue, Nov 19, 2013 at 8:28 AM, Felix Frank <felix...@alumni.tu-berlin. >> de> wrote: >> >>> 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 >>> >>> On 11/18/2013 09:28 PM, Spencer Thomason wrote: >>> > 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 >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Rob Reynolds >> Developer, Puppet Labs >> >> Join us at PuppetConf 2014, September 23-24 in San Francisco >> > -- > 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/6d7a58d1-b1c3-4e06-bcc8-9fc0bfacb68b%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. >-- Rob Reynolds Developer, Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco -- 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/CAMJiBK6G6fSLbM4%2B8e-E7OS7YZcWo8aiEF4bye%2BANtMT_Q-esA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.