Hi All,
I have a existing infrastructure with win and linux systems, i am creating
a new infrastructure with same version of win and linux systems.
In this i want to do.
all the server from new infrastructure should get specific set of classes
automatically soon their certificate is accepted.
*It's work. *
It was spelling problem, I change it now to:
*node_terminus = exec. *
And it work when 'external_nodes =' with or without the ' /usr/bin/env
PUPPET_DASHBOARD_URL=http://user:pass@localhost:3000'
I also delete *'node: *' from my script.
Now when I start httpd, after changing t
I am sending data from puppet agent to master node using external facts.
Here I use json array in my facters/facts.d/myData.json file.
"employees":[
{"firstName":"John", "lastName":"Doe"},
{"firstName":"Anna", "lastName":"Smith"},
{"firstName":"Peter", "lastName":"Jones"}
]
In master s
You an just put a if statement directly in the top scope of the site.pp
that does this, like:
# site.pp
if $::infra == 'newinfra' {
include newinfra_baseclass
}
On 19 June 2014 09:02, kaustubh chaudhari wrote:
> Hi All,
>
>
> I have a existing infrastructure with win and linux systems, i am
Cool that's what i was thiking, just wanted to check if it can be done or
not.
Thanks for your reply, i will try this now.
-Kaustubh
On Thursday, June 19, 2014 4:01:40 AM UTC-4, Erik Dalén wrote:
>
> You an just put a if statement directly in the top scope of the site.pp
> that does this, lik
There's a couple of issues with that, see
http://stackoverflow.com/questions/24301360/puppet-external-facter-json-array-iteration-inside-puppet-template
Does this facilitate cross posting already? ;/
On 06/19/2014 09:50 AM, Malintha Adikari wrote:
>
>
>
> I am sending data from puppet ag
Hello,
I've got 'something strange' with a Puppet module, using augeasproviders
(v1.2.0 or master branch of today) on Puppet 3.6.2
Below a stripped version of it with the same results as the full version;
It installs an Oracle preinstall rpm which also updates /etc/sysctl.conf
settings and us
Josh,
Yeah, i'm getting warning on environments still. I run theforeman which
doesn't support the new environments yet, so i was just curious if i could
sleep the error until foreman is patched up.
-byron
On Tuesday, June 17, 2014 11:35:28 AM UTC-5, Josh Partlow wrote:
>
> (I clipped puppet-an
Hi List,
Does anyone have any suggestions on this? I was hoping that someone may
have gotten it working or at least agree that there is an issue. I am
happy to raise a puppet ticket.
Peter.
On Saturday, 14 June 2014 10:48:56 UTC+10, Peter wrote:
>
> Hi List,
>
> I am starting to play with di
John,
Please vote/comment on this issue:
https://tickets.puppetlabs.com/browse/MODULES-962
On Wed, Jun 18, 2014 at 8:33 PM, Trevor Vaughan
wrote:
> Hi John,
>
> Not at this time. It was added to the Windows support so hopefully Linux
> isn't far behind!
>
> Thanks,
>
> Trevor
>
>
> On Wed, Jun
On Thursday, June 19, 2014 2:48:19 AM UTC-5, shlo@gmail.com wrote:
>
>
>
> *It's work. *
> It was spelling problem, I change it now to:
>
> *node_terminus = exec. *
>
>
Good.
> And it work when 'external_nodes =' with or without the ' /usr/bin/env
> PUPPET_DASHBOARD_URL=http://user:pas
Hi all,
I've written a blog post with my opinions on the current modules ecosystem:
http://www.example42.com/2014/05/31/rethinking-modules-part-1/
The post talks about :
What are the reusability features a module should have, imho
The distinction between application (component) modules and higher
Hi,
I am trying to use create_resources with hiera.
My hiera testing.yaml (snippet) looks like this
tomcat::confs:
"%{hiera('webapps_dir')}/tomcat/conf/context.xml":
content: template('tomcat/context.xml.erb')
tomcat::default_confs:
ensure: present
owner: "%{hiera('tomcat::user')}"
The "template('tomcat/context.xml.erb')" is taken as a literal string when read
from hiera.
In this case you might wrap the file in a define to use the puppet template()
function:
define mymodule::hieratesting ( $content ) {
file { $name:
content => template($content),
}
}
create_resour
Is there any "back off" algorithm in puppet that would unscheduled a service
refresh when the CPU load is too high. Is there a timeout associated with
refreshing services?
My CPU load peaks as high as 18(one min)(6 Processor Count) during puppet runs
. I have about 20-30 java processes that
Hi Peter,
This is master side only:
http://docs.puppetlabs.com/puppet/latest/reference/environments.html
> On 19 Jun 2014, at 23:29, Peter wrote:
>
> Hi List,
>
> Does anyone have any suggestions on this? I was hoping that someone may have
> gotten it working or at least agree that there is
You could write a fact that checks the system load and base your
service restarts on that.
I thought there was one but there only seems to be uptime and swapfree.
Here's a ruby gem that might help get you started.
https://github.com/nethacker/usagewatch
On 20 June 2014 04:45, Corey Osman wrote:
A fact probably won't help in this case since it seems to be something
that's happening as the service get restarted during the Puppet run and a
fact will only tell you what's happening at the start of the run.
What you may need to do is to change the timeout and restart values of your
service sta
I am facing the same issue. I have set
key1=value1
inside my puppet agent facts.d/file.txt.
How this value can be taken into manifest in my puppet agent. I have tried
*$key1* and *${::key1}* but not worked. What is the correct way of taking
it ?
Regards,
Malintha
On Friday, February 14, 20
Hi all
I could solve it using *$::items* in my manifest.
On Friday, June 20, 2014 11:30:27 AM UTC+5:30, Malintha Adikari wrote:
>
> I am facing the same issue. I have set
>
> key1=value1
>
> inside my puppet agent facts.d/file.txt.
>
> How this value can be taken into manifest in my puppet age
20 matches
Mail list logo