Thank you, Daniel.
Then how can we make puppet not generate the reports? I try to add
'report=false', but seems no effect.
On Sat, Sep 15, 2012 at 2:46 AM, Daniel Pittman dan...@puppetlabs.comwrote:
On Fri, Sep 14, 2012 at 3:16 AM, flex frostyn...@gmail.com wrote:
Thanks, Daniel. We do have
, is why you feel you need this?
On Mon, Sep 17, 2012 at 12:14 AM, flex frostyn...@gmail.com wrote:
Thank you, Daniel.
Then how can we make puppet not generate the reports? I try to add
'report=false', but seems no effect.
On Sat, Sep 15, 2012 at 2:46 AM, Daniel Pittman dan
Thanks, Daniel. We do have some recursive file copies and hundreds of other
resources. So we'd better decrease the resources numbers?
On Fri, Sep 14, 2012 at 2:44 AM, Daniel Pittman dan...@puppetlabs.comwrote:
On Thu, Sep 13, 2012 at 12:31 AM, flex frostyn...@gmail.com wrote:
I use cron
Hi, all:
I use cron to run puppet agent, but recently i found the script takes too
long time. After using '--debug', i got this log:
2012-09-13 15:19:53.928744500 debug: Finishing transaction 69941650538440
2012-09-13 15:19:53.928988500 debug: Storing state
2012-09-13 15:19:54.930995500 debug:
you can put the package resource in a single class, and include this class
in app[1-3], alternatively, try virtual resources, see:
http://docs.puppetlabs.com/guides/virtual_resources.html
On Mon, Mar 19, 2012 at 9:15 AM, EmmEff mike...@gmail.com wrote:
How to handle this scenario?
Assume
hi, all:
i want to require my own ruby class in a custom function, now i put the
ruby file in the same directory with custom function, and require it in the
function file like this:
require File.join([File.expand_path(File.dirname(__FILE__)), 'test.rb'])
but i think this is too ugly, is there
i met this problem too, and also don't know why some resource's type turned
into Schedule, are there someone can give me a reason?
On Tue, Sep 6, 2011 at 10:21 PM, Greg Sutcliffe greg.sutcli...@gmail.comwrote:
Hi all,
Since upgrading a few test machines from 2.6.7 to 2.7.3, I've noticed
oh, i make a mistake, the schedule resources are not turned from other
resources, they are created by default.
my puppet is 2.7.6
On Tue, Nov 29, 2011 at 5:49 PM, flex frostyn...@gmail.com wrote:
i met this problem too, and also don't know why some resource's type
turned into Schedule
I read the guide at
http://docs.puppetlabs.com/guides/scope_and_puppet.htmland others'
mail, i am a little confused now, below is my understanding:
1. top scope only refers to site.pp, not include node definitions and facts.
2. in puppet class, using variables not local, must specify the
...@stjude.orgwrote:
On Nov 16, 3:59 am, flex frostyn...@gmail.com wrote:
I read the guide athttp://
docs.puppetlabs.com/guides/scope_and_puppet.htmlandothers'
mail, i am a little confused now, below is my understanding:
1. top scope only refers to site.pp, not include node definitions and
facts
16, 2011 at 8:03 AM, flex frostyn...@gmail.com wrote:
Very thanks for your detailed explanation :)
For the last question, what doubt me is only fact variables in a template
which is invoked by a define will throw the warning,
if the template is invoked by a class, everything is ok.
Use
I wrote a custom fuction to read a root read-only file, it raised an
Permission Denied error.
During debug, i found this fuction seems to run as user puppet, it is this
a feature or a bug?
--
System Administrator, Focus on System Management and Basic Development
--
You received this message
When there is an error in exec resource, puppet command also returns zero.
--
System Administrator, Focus on System Management and Basic Development
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
Oh, i found --detailed-exitcodes here:
http://projects.puppetlabs.com/issues/5859
2011/7/11 flex frostyn...@gmail.com
When there is an error in exec resource, puppet command also returns zero.
--
System Administrator, Focus on System Management and Basic Development
--
System
What a good solution! Thanks a lot!
2011/6/24 Nan Liu n...@puppetlabs.com
On Thu, Jun 23, 2011 at 7:43 PM, flex frostyn...@gmail.com wrote:
er...that's what we use now, but define and external node cannot use
together, we want to use external node to manage nodes configuration
easily,
so
tux...@gmail.com
On Jun 23, 7:44 am, Martin Alfke tux...@gmail.com wrote:
On 06/23/2011 04:35 AM, flex wrote:
These is another question, i have many defines which will apply an
application to sepcified path, called as:
application::add { app1: path = /var/app1 }
by this i can
:
import nodes/*/*.pp
The only problem we've found with this approach is when creating new
files, puppetmaster takes a while to see them.
El 20/06/2011 5:25, flex escribió:
We have many modules and many nodes, every node may use different
module, so it's very unpleasant to modify
and The Foreman are two good tools to look at
for this purpose.
Ideally you want your node entries to contain only vars and classes
for a switchover to ENC to work. Param classes aren't supported in
either tool yet I believe.
ken.
On Mon, Jun 20, 2011 at 4:25 AM, flex frostyn...@gmail.com wrote
We have many modules and many nodes, every node may use different module, so
it's very unpleasant to modify the nodes.pp
Then i saw the external node, but seems it only support class and we have
many defines called in node.pp
So here is my question: Is there another way for us to manage so many
modules/redarrow/manifests/init.pp:
define redarrow::add_redarrow($redarrow_file) {
notice($caller_module_name)
file { /etc/redarrow.conf/$redarrow_file:
content =
template(${caller_module_name}/redarrow/${redarrow_file}.erb),
}
}
in the redarrow module?
Also (although this is somewhat dumb), have you tried
puppet:///modules/${caller_module_name}/redarrow.conf instead?
Curly braces shouldn't be necessary there, but something definitely
smells, so...
Regards,
Felix
On 02/12/2011 06:06 PM, flex wrote:
This is my puppet script
; module names must be alphanumeric (plus '-'), not
'redarrow.conf' at /home/flex/puppet/modules/redarrow/manifests/add.pp:14
It seems that the variable $caller_module_name is not set, then i found
another stange thing, i got what i want like this:
define redarrow::add($module = $name, $type
my puppet version is 2.6.2
2011/2/13 Nan Liu n...@puppetlabs.com
On Sat, Feb 12, 2011 at 9:06 AM, flex frostyn...@gmail.com wrote:
This is my puppet script:
modules/redarrow/manifests/add.pp:
define redarrow::add($type = file) {
file { /etc/redarrow.conf/$name.conf:
owner
by the way, the $module_name is set correctly, but seems it can not be pass
to a define like this:
redarrow::add {test_portage: module = $module_name}
2011/2/13 flex frostyn...@gmail.com
my puppet version is 2.6.2
2011/2/13 Nan Liu n...@puppetlabs.com
On Sat, Feb 12, 2011 at 9:06 AM, flex
24 matches
Mail list logo