Hi Christopher
Thanx for the reply :)
If anyone ever looks for a similar problem...
Someone (don't remember the user's NIC, sorry) on Puupet's IRC channel
suggested using Puppet's template iteration (as explained here:
http://docs.puppetlabs.com/guides/templating.html#iteration).
Paolo
Sorry for bringing up an old thread, but I hit the same issue and found
a workaround.
rspec-puppet calls #inspect on the parameter values to see how they
should be represented in Puppet's DSL, so passing a string in causes it
to get quoted (as String#inspect returns a quoted string).
Instead, I c
Thanks for your reply Rich.I will try to explore Mcolletive and try to do
it.
Satish.
On Saturday, July 5, 2014 12:07:46 AM UTC+5:30, Rich Burroughs wrote:
>
> The Puppet agent runs are initiated on the agent side. There is no Puppet
> master command that you can use to trigger an agent run.
>
Hello,
I am working on some project where I need to execute scp command on puppet
master to copy files from some external server to module/files/* each time
when puppet agent pull request received to master.I want something like to
copy a file and store it to puppet master /modules/files folder
Hi John,
many thanks for your answer. It was really helpful. But i must make one
modificatiotion:
resources { 'ipaddress':
purge => true,
} -> Ipaddress<| enusre == absent |>
Now this works really fine and he purges before he creates new
resources/Ipaddresses :-)
Regrads,
Andreas
--
You r
Hello, everybody.
I have a report files, that was generated with puppet apply, located in
/var/lib/puppet/reports/$(hostname)/$date.yaml.
Can I upload them to puppet master?
I'm using foreman, and it have own report engine, configured at master.
Most of my hosts are managed with puppet agents,
Hi Den, and thank you for the response.
There is some data that will need to be rsynced, but mostly it's drawing
from mysql nodes, and not storing or creating data itself.
One issue, though, that I wonder if just copying and pasting into the spare
nodes manifest - I need the hostname to change
Thanks for the suggestions Rich.
I did try double quotes and the result if the same so still no progress.
Hoping someone out there has a colon in their data and can point me in the
right direction.
On Friday, 4 July 2014 15:37:49 UTC-4, Rich Burroughs wrote:
>
> Ah ok. I was looking at this pag
On Saturday, July 5, 2014 9:22:38 PM UTC-5, David Mohl wrote:
>
> Hello,
>
> I am scratching my head on this one. For a project, I need to compile a
> package from source that depends on a apt source package. Since I am
> managing package sources with puppet, I need apt-get builddep to be
> ex
On Monday, July 7, 2014 8:01:18 AM UTC-5, Roger Sherman wrote:
>
> Hi Den, and thank you for the response.
>
> There is some data that will need to be rsynced, but mostly it's drawing
> from mysql nodes, and not storing or creating data itself.
>
> One issue, though, that I wonder if just copyin
Thanks John, I think that answers the rest of my question.
I'm actually doing this in stages - the critical node is
worker3.blahblah.com, so I'm making spare.blahblah.com into
worker4.blahblah.com (with the critical services not started), then I'll be
rsyncing, and then shutting down worker3, a
On Monday, July 7, 2014 9:18:07 AM UTC-5, Marc Whittaker wrote:
>
> Thanks for the suggestions Rich.
>
> I did try double quotes and the result if the same so still no progress.
>
>
Yours is neither a single-quoted nor a double-quoted value. It is an
unquoted value with a single quotes somewhe
Hi,
I've been looking into Puppet recently and I'm trying to setup a couple
of virtual machines that should mimick what's in production. I'm pretty
much a developer trying to lean towards DevOps :-)
Locally, I'm using Vagrant and the CentOS 6.5 64-bit box with Puppet
3.4.3 that was published
Max,
I do a single module for each repo that I want added. In some cases I
combine it with a repo to manage the service. IE mysql* repos would be
managed via the mysql module.
As for making sure they are all up to date I might just create an
exec {my_check_update:
refreshonly => true,
command
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To second Doug, I also uses a module for each repo I want to add.
This way you can probably have a base profile, like the following :
class profile::base {
resources { 'yumrepo' :
purge => true,
}
include ::epel
include ::nginx
include
I'm trying to get Puppet to add "nosuid" to all my nfs or nfs4 mount
entries in /etc/fstab. I'm currently using this:
augeas { "fstab-nosuid":
context => "/files/etc/fstab/*[vfstype = 'nfs' or vfstype =
'nfs4'][count(opt[. = 'nosuid']) = 0]",
changes => [
Thank you so much John,
As soon I read your comment the light went on...
On Monday, 7 July 2014 11:17:26 UTC-4, jcbollinger wrote:
>
>
>
> On Monday, July 7, 2014 9:18:07 AM UTC-5, Marc Whittaker wrote:
>>
>> Thanks for the suggestions Rich.
>>
>> I did try double quotes and the result if the
On Thu, Jul 3, 2014 at 4:44 PM, Michael Legleux wrote:
> The directory already exists.
> Puppet master and agent are both 3.6.2
> This is in the debug from the run on the agent.
>
> Debug: Using settings: adding file resource 'pluginfactdest':
> 'File[C:/ProgramData/PuppetLabs/puppet/var/facts.d]
I tried fiddling around with a puppet module I am writing to install RPM's
both from repository as well as local resources (e.g. http) and tried the
advise noted by David Caro, but I'm still getting error messages:
Skipping.
Error: Nothing to do
returned 1: Cannot open:
On Tuesday, February 1
Is there a reason you aren't using the builtin mount type?
I believe it can do everything you require.
http://docs.puppetlabs.com/references/stable/type.html#mount
On 8 July 2014 04:42, Kim Scarborough wrote:
> I'm trying to get Puppet to add "nosuid" to all my nfs or nfs4 mount entries
> in /et
20 matches
Mail list logo