Admittedly I haven't. I didn't really want to go chasing after something
that has an established practice/pattern or is for some reason a bad idea.
I assumed Facter.value would pull from a cache of some sort, but clearly
that was just a speculative fantasy on my part. If it computes it each time
Hi,
Have you checked this?
https://docs.puppetlabs.com/references/latest/configuration.html#filetimeout
regards,
On Thu, Sep 4, 2014 at 9:28 PM, Mike Reed mjohn.r...@gmail.com wrote:
Greetings,
I have a class for which I would like to simply print a few parameters
about a node, before
Hi,
thx a lot for the answer. I was experimenting with the loglevel already
but misunderstood the concept :)
So everything works now as expected.
Once again thx alot
Constantin
Am Donnerstag, 4. September 2014 22:19:02 UTC+2 schrieb Constantin Wolber:
Hi,
i searched quite a bit in the
Hi Mike,
It's very likely due to Directory Environments caching. By the default the
environment
timeout
https://docs.puppetlabs.com/references/3.7.latest/configuration.html#environmenttimeout
is 3m, which means you whole environment will cached during this time.
You can enforce the value of
Cool!!! Thanks for that Felix. It did what i was looking for.
The only catch was formatting of the file is messed, but i did some
scripting on the master server and fixed it.
Thanks for your help .
more i work with puppet.. more i fell in love with it!!!
With Warm Regards
On Thursday, September 4, 2014 11:27:31 PM UTC-5, Colin Kincaid Williams
wrote:
I have a hacked together class that somebody else wrote based on some
wikimedia puppet scripts. I've been asked to set the JAVA_HEAP_MAX if the
host is a resource manager.
I'm trying to set the variable
On Thursday, September 4, 2014 5:50:43 PM UTC-5, Jason Antman wrote:
Agreed with Atom...
I generally think that this method is backwards. The system shouldn't tell
Puppet what it wants to be; Puppet (possibly fed by some external data
source(s)) should tell the system what to be.
+1
Hi peeps,
I've just noticed that puppet agent --configprint runinterval is not
doing what I expect. Why does it misreport the environment? The node is
indeed checking into the netops environment.
[jg4461@web-team-dev ~]$ puppet agent --configprint environment
production
[jg4461@web-team-dev
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 2:53:27 PM
Subject: [Puppet Users] --configprint
Hi peeps,
I've just noticed that puppet agent --configprint runinterval is
Hi guys,
I am a little bit confused about how to use Puppet Dashboard group in
MCollective.
As we know, we can add group in Puppet Dashboard to include Nodes and
Classes, then when Puppet agent runs, it will check the groups to find out
which node should have which class.
How is this Group
On 05/09/14 15:02, R.I.Pienaar wrote:
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 2:53:27 PM
Subject: [Puppet Users] --configprint
Hi peeps,
I've just noticed that puppet
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 3:59:28 PM
Subject: Re: [Puppet Users] --configprint
On 05/09/14 15:02, R.I.Pienaar wrote:
- Original Message -
From:
On 05/09/14 16:04, R.I.Pienaar wrote:
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 3:59:28 PM
Subject: Re: [Puppet Users] --configprint
On 05/09/14 15:02, R.I.Pienaar wrote:
tl;dr: Splitting up an PE all-in-one install AND moving to puppet open
source...
So, a kinda odd/complicated query here:
I'm a long-time puppet user/admin/master/cool-word-of-the-moment. I
recently changed jobs. My old shop was 100% puppet open source and had been
for ~6 years or so, with myself
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 4:09:26 PM
Subject: Re: [Puppet Users] --configprint
On 05/09/14 16:04, R.I.Pienaar wrote:
- Original Message -
From:
On 05/09/14 16:20, R.I.Pienaar wrote:
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 4:09:26 PM
Subject: Re: [Puppet Users] --configprint
On 05/09/14 16:04, R.I.Pienaar wrote:
- Original Message -
From: Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
To: puppet-users puppet-users@googlegroups.com
Sent: Friday, September 5, 2014 4:39:49 PM
Subject: Re: [Puppet Users] --configprint
On 05/09/14 16:20, R.I.Pienaar wrote:
- Original Message -
From:
Hello,
I was able to do puppet module install gini/archive before and now with
version 3.7.0 I am getting the following:
# puppet module install gini/archive
Notice: Preparing to install into /Users/otaeguis/.puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Error:
Using puppet 3.4.3 and getting the following warning:
Variable access via 'java_home_var' is deprecated. Use '@java_home_var'
instead. template[inline]:1
from the following line:
$java_home = inline_template('%= scope[@java_home_var] %')
Any ideas? Thanks.
--
Brandon Metcalf | Technical
I'm going to try your suggestion. Thanks for the response! I'm curious
however if $rm_hosts is available where you suggest. E.G.
class role::wh::hadoop::production {
$is_rm = $::hostname in $rm_hosts
When the relevant lines from the provided hadoop.pp pasted above :
class
Hi,
I am using open source Puppet 3.6.2 with Dashboard and Mcollective.
If I have puppet agent running and then from puppet master I run mco
puppet runonce --server puppetmaster_name, I will get this error:
Cannot specify any custom puppet options when the daemon is running
I understand that
You can use mcollective to run periodic revisions with noop:
mco puppet --noop runall 10
This will run puppet on every machine with concurrency of 10 ( so no more
than 10 puppet agent will be retrieving/applying the catalog at the same
time).
You can also stop puppet from mcollective, push
Forgot about last question,you can specify more than one -I in each command
El 05/09/2014 20:46, Stella stellatian1...@gmail.com escribió:
Hi,
I am using open source Puppet 3.6.2 with Dashboard and Mcollective.
If I have puppet agent running and then from puppet master I run mco
puppet
@Antoine you are exactly correct. After creating an environment.conf file
for my 'test' environment and setting 'environment_timeout = 0', it seems
the cache is being cleared after each run and the appropriate changes are
being reflected on my test clients. I opted to create a .conf file for
Hi Stella,
Out of the box there is no support for this.
You can write your own MCollective discovery plugin to do this or use my basic
version [1] and enhance it
Stefan
[1] https://github.com/sheijmans/mcollective-discovery
--
You received this message because you are subscribed to the
Jose, thank you for the reply.
Yes, I understand all those commands. Oh, so you are saying I can use mco
to temporarily stop my puppet agent when I need to do mco runonce and then
start it back. Good idea!
But what is the answer to my question:
Can I have both puppet agent running (so that
Hi Stefan,
Great! I will give your basic version a try and let you know how it works!
thanks,
Stella
On Friday, September 5, 2014 3:29:06 PM UTC-4, Stefan Heijmans wrote:
Hi Stella,
Out of the box there is no support for this.
You can write your own MCollective discovery plugin to do
On Fri, Sep 05, 2014 at 11:46:14AM -0700, Stella wrote:
Hi,
I am using open source Puppet 3.6.2 with Dashboard and Mcollective.
If I have puppet agent running and then from puppet master I run mco
puppet runonce --server puppetmaster_name, I will get this error:
Cannot
No, I didn't try with filtering.
I tried Jose's suggestion:
mco puppet runall 10
and yours:
mco puppet runonce -F hostname=puppetmaster_name
Both work fine. So I will forget --server option :)
thanks a lot
Stella
On Friday, September 5, 2014 3:41:16 PM UTC-4, Christopher Wood wrote:
On
Hello,
I am currently having the following problem and have not been able to track
down the cause in all my searches online. I have a script file located in a
module I have written that the client appears to be unable to get.
Error: /Stage[main]/modulename/File[remove_script]: Could not
On Friday, September 5, 2014 1:37:21 PM UTC-5, Colin Kincaid Williams wrote:
I'm going to try your suggestion. Thanks for the response! I'm curious
however if $rm_hosts is available where you suggest.
I made no suggestion about where $rm_hosts is available in your code. You
were
Hi John,
I provided the complete code which contains the rm_hosts in my original
post; see role/wh/hadoop.pp . I tried your suggestion but I was getting
errors in the role/wh/hadoop.pp file. Do you believe your code will work in
the role/wh/hadoop.pp above? If so can you be a little more
Thanks for your last post, I gave it another attempt and it works. I'm
still a puppet novice cast onto a developed framework. Thanks for you help!
On Friday, September 5, 2014 8:45:07 PM UTC, jcbollinger wrote:
On Friday, September 5, 2014 1:37:21 PM UTC-5, Colin Kincaid Williams
wrote:
Sebastian,
So, this is caused by symlinks in this module which don't have a
corresponding directory or file. Puppet 3.7.0 now checks for symlinks, and
unfortunately has a File Not Found error if the symlinks don't have a
corresponding target.
My only suggestion for working around this is to
Damn, that really sucks because I am using this module from my rspec-puppet
tests, so this module gets installed from the fixtures.
oh well.
On Fri, Sep 5, 2014 at 3:44 PM, Anderson Mills ander...@puppetlabs.com
wrote:
Sebastian,
So, this is caused by symlinks in this module which don't
On Thu, Sep 4, 2014 at 9:26 AM, jcbollinger john.bollin...@stjude.org
wrote:
As long as you intend to perform the validation inside the fact
implementation, the fact can keep and use its own cache somewhere on the
system.
Alternatively, the master stores the most recent set of facts
I've also used facter.d for facts that require longer to run than you want
to wait for a Puppet run.
For example a big find to check all of / for setuid files, then count them.
Run that in a cron then write to facter.d, then grab it with facter.
On Fri, Sep 5, 2014 at 5:04 PM, Khoury Brazil
37 matches
Mail list logo