On Tue, Nov 15, 2011 at 7:16 PM, Klaus Ethgen klaus+use...@ethgen.de wrote:
Hello,
I am not sure if I trigger a bug and if so it could also be in ruby
sqlite3 backend. However, maybe I do something totally wrong.
I have the following part in puppet.conf:
[master]
storeconfigs = true
Ok,
thnaks a lot.
Cheers,
Arnau
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For
On 11/16/2011 12:39 AM, Iain Sutton wrote:
+1 for tangled strings
On 16 November 2011 04:03, Ken Barber k...@puppetlabs.com
mailto:k...@puppetlabs.com wrote:
Depends on why you want this info ... but its available in the catalog
on the box for 'grepping' (more or less).
Something
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
Alternatively the cheap and hacky approach:
$foo = inline_template(%= (processorcount.to_i * 0.8).floor -%)
That looks direct and sexy to me.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
On Wed, Nov 16, 2011 at 12:41 PM, Klaus Ethgen klaus+use...@ethgen.de wrote:
Ohad Levy ohadl...@gmail.com schrieb:
I encountered this bug with many versions on different linux
distributions. For example:
Ubuntu 10.04
Puppet 2.7.6
libsqlite3-ruby1.8 1.2.4-2.1
Do anybody has an idea
RADIUS is something I haven't used for a long time (and my last use
was AAA for DSL subscribers, not for Linux), but that is a
possibility. The only issue I'll have there is that I am working with
internal machines that live in a private 'cloud' network @ the office
and a set of private, and
On Nov 15, 3:42 pm, Justin Lloyd jstn...@gmail.com wrote:
I tried the following (names changed to protect the innocent and guilty):
class myclass ( $param ) {
$myvar = [ foo, bar ]
if $param == special {
$myvar += [ blah ]
}
}
and got the message ...Cannot
Dear community,
I would like to know if it is possible to use different files for the nodes.pp
Can we use in nodes.pp the following syntax :
include nodes2.pp
nodes2.pp could contain host definition eactly as nodes.pp but for a
particular platform.
This would allow more readable configuration
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.
Top scope
On 11/16/11 3:54 PM, jcbollinger wrote:
On Nov 16, 3:59 am, flexfrostyn...@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
On Nov 15, 7:05 am, Stephan stephan.eckwei...@admin.ox.ac.uk wrote:
Hi all,
here is what I have:
A module that is responsible to roll out and configure TSM (a backup
tool). Basically I need a text file that mentions all directories that
have to be backed up. I want to make it a virtual
Hi all,
I'm working thru the tutorial (http://docs.puppetlabs.com/learning/
manifests.html) using the VM provided (http://www.puppetlabs.com/
downloads/learning/learn_puppet_centos_ovf.2011.07.15.tar.bz). When
asked to write a manifest that ensures httpd is running, I wrote:
service {
Hi All,
I have a define-type resource, which gets called from multiple classes, on
which I would like to read its parameters from a template. This works for
parameters added to the call of the resource but not for those which have a
default value on its definition.
On the example below, I can
On Tue, Nov 15, 2011 at 04:40:29PM -0800, Matthew O'Connor wrote:
Hi all,
I'm working thru the tutorial (http://docs.puppetlabs.com/learning/
manifests.html) using the VM provided (http://www.puppetlabs.com/
downloads/learning/learn_puppet_centos_ovf.2011.07.15.tar.bz). When
asked to write
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.
On Wed, Nov 16, 2011 at 10:54 PM, jcbollinger
On Wed, 16 Nov 2011 15:32:41 +0100
Hugo Deprez wrote:
Dear community,
Hi Hugo,
I would like to know if it is possible to use different files for the
nodes.pp
Can we use in nodes.pp the following syntax :
include nodes2.pp
we have several node files but use import.
[...]
Thank you.
Hello,
I have this setup but don't know how to implement it in puppet. There are 3
servers: puppetmaster, agent1, agent2
In order to setup agent1, I need to run a command on agent2 and return the
data.
I know file can generate() function to run a command. However, it runs on
the puppetmaster
Im using puppet 2.7.6 and gem 1.5.2
debug: Puppet::Type::Package::ProviderGem: Executing
'/usr/local/bin/gem list --remote nokogiri$'
debug: /Stage[main]/Hadoop::Gems/Package[nokogiri]/ensure: nokogiri
1.5.0 is installed, latest is 1.5.0 ruby java x86-mingw32
x86-mswin32-60
debug:
Jo Rhett wrote:
Are you running the latest centos or redhat-based kernel? If so,
274.7.1 is corked. Backgrade from 274.7.1 to 274.3.1 and the problem
will disappear. This is documented in
https://projects.puppetlabs.com/issues/10418
And RedHat bug
- Arnau Bria arnaub...@pic.es wrote:
On Wed, 16 Nov 2011 15:32:41 +0100
Hugo Deprez wrote:
Dear community,
Hi Hugo,
I would like to know if it is possible to use different files for the
nodes.pp
Can we use in nodes.pp the following syntax :
include nodes2.pp
we have
When I run `puppet apply --verbose --debug httpd.pp`, the last lines
printed are:
debug: Finishing transaction -608038528
debug: Loaded state in 0.00 seconds
info: Applying configuration version '1321356508'
debug: Service[httpd](provider=redhat): Executing 'ps -ef'
debug:
Do you have another http daemon running, by chance? If I'm reading this
right, the first run seems to think it found another httpd server on PID
17243 - what's running on that process?
On Wed, Nov 16, 2011 at 9:37 AM, Matthew O'Connor
thegreendra...@gmail.comwrote:
When I run `puppet apply
I think it's fairly common to put something like this in your site.pp
if you like separate node files which I prefer.
import nodes/*.pp
You can also use regex in your node files to further simplify though
if you're doing a lot of logic here you should probably start thinking
about an ENC.
fe.pp
I looked for that. There's not any other http daemon running. The PID that
the first returns changes every time (now at 23052, 23139, etc.). The
second one never returns a PID (unless there's actually an httpd running).
On Wed, Nov 16, 2011 at 10:54 AM, Russell Van Tassell
On Wed, Nov 16, 2011 at 2:14 PM, Matthew O'Connor
thegreendra...@gmail.com wrote:
I looked for that. There's not any other http daemon running. The PID that
the first returns changes every time (now at 23052, 23139, etc.). The second
one never returns a PID (unless there's actually an httpd
That fixed it.
Oh, I think I see what's going on:
When I run `puppet httpd.pp`, it runs `ps` and finds a process with `httpd`
in the name and so concludes the service is running. If I rename the script
to something else then Puppet no longer finds any process with 'httpd' in
its name.
Perhaps
You can setup a pattern with a regular expression to weed-out the process
list if you don't use hasstatus
http://docs.puppetlabs.com/references/latest/type.html#service
...but, sounds like you nailed it.
On Wed, Nov 16, 2011 at 12:18 PM, Matthew O'Connor thegreendra...@gmail.com
wrote:
On Wed, Nov 16, 2011 at 1:19 AM, Karen Loomans ka...@loomans.org wrote:
Hi,
I have a module to manage /etc/hosts that works fine for RHEL, but not on
Solaris. Basically I've defined all our hosts as virtual host resources,
and grouped them various ways by tagging them. These are then
On Nov 16, 9:16 am, Theo Cabrerizo Diem d...@carpediem.sh wrote:
Hi All,
I have a define-type resource, which gets called from multiple classes, on
which I would like to read its parameters from a template. This works for
parameters added to the call of the resource but not for those which
Hi Nan,
Thanks for the reply. That was the first thing I asked our group, but
unfortunately for the Solaris servers it is the group's policy not to alias
localhost (for various reasons I won't go into here). I'll raise it again,
but if an alternate solution can be found it would be preferable.
Hi all,
I'm a little bit confused that I did not get a single reply from the list
concerning the problem of not re-created configuration files when using
stored configurations for generating an Icinga/Nagios configuration.
Please tell me at least if my question if this could be a bug seems
On Wed, Nov 16, 2011 at 12:18 PM, Matthew O'Connor thegreendra...@gmail.com
wrote:
That fixed it.
Oh, I think I see what's going on:
When I run `puppet httpd.pp`, it runs `ps` and finds a process with
`httpd` in the name and so concludes the service is running. If I rename
the script to
Does the @ method is supported by puppet 2.8? During my test, it can also
be used not only ahead facts variable but also the variable in its parent
class, it is this a wordaround for dynamic scope problem?
On Thu, Nov 17, 2011 at 2:39 AM, Nigel Kersten ni...@puppetlabs.com wrote:
On Wed, Nov
Hm, I hadn't thought of that.
Do you have a time where one instance of Puppet would manage itself -
versus managing another running copy of Puppet?
On Wed, Nov 16, 2011 at 3:54 PM, Nigel Kersten ni...@puppetlabs.com wrote:
On Wed, Nov 16, 2011 at 12:18 PM, Matthew O'Connor
Hi,
the module I'm using is almost setup the same, but I don't experience
the same issue:
the nagios server collects nagios config resources (and sets the target
file for each kind of resource), and there's a resource for the files
themselves which define the permissions.
however, there's no
On Wed, Nov 16, 2011 at 08:09:11PM -0700, Matthew O'Connor wrote:
Hm, I hadn't thought of that.
Do you have a time where one instance of Puppet would manage itself -
versus managing another running copy of Puppet?
I do this. A virtual machine template is configured with a
37 matches
Mail list logo