hi,
I run puppet 0.25.5
Because of "puppet warnings about metaclass deprecation" i use rails not
newer than 2.3.5
see https://bugzilla.redhat.com/show_bug.cgi?id=616519
and http://projects.puppetlabs.com/issues/4668
for that.
I use passenger as described in
http://projects.puppetlabs.com/project
- Original Message -
> Sorry for the previous HTML email.
no worries, usually I take the time to add extra >'s to make them readable
but when they're long it becomes too much and I give in to the top posting
temptation :)
> On Fri, Jan 7, 2011 at 1:41 PM, R.I.Pienaar wrote:
> >
> > You
On Fri, Jan 7, 2011 at 12:29, Marek Dohojda wrote:
> I am wondering if erb templates can parse an xml document, and input a valid
> variable from within it? Could someone please point me in the right
> direction?
I can't tell which of these two is your problem, so please ignore the
one that do
That was my guess, I'm sure I'll the error in my ways as I become more
fluent in Puppet.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send em
Thanks for the suggestion Deet, I got it working with something along those
lines, except using a shell script, as my Ruby skills are weak, which led to
my initial problems.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group
Sorry for the previous HTML email.
On Fri, Jan 7, 2011 at 1:41 PM, R.I.Pienaar wrote:
>
> You cant avoid the scoping issues cos its broken. You can work around them
> though.
>
> You can be careful about where you set variables and how you include things.
> This
> isn't new we've been doing it
On 07/01/11 20:44, Jeff McCune wrote:
> -Jeff
>
> On Jan 7, 2011, at 6:51 AM, Brice Figureau
> wrote:
>
>> On Fri, 2011-01-07 at 15:33 +0100, Sébastien Barthélémy wrote:
>>> Hello again,
>>>
>>> thank you for your answers. I use puppet 2.6.4.
>>> I don't think I have a site.pp
>>>
>>> On Wed, 5
Thanks all, finally got it working now.
On Jan 7, 10:00 am, Nigel Kersten wrote:
> On Fri, Jan 7, 2011 at 6:27 AM, Ace wrote:
> > Can you please state an example explaining how relating classes would
> > execute one class before another?
>
> class foo {
> require "bar"
>
> }
>
> > On Jan 6, 3:
In data 07 gennaio 2011 alle ore 23:17:10, Rameses Mss
ha scritto:
On Fri, Jan 7, 2011 at 9:51 AM, Cosimo Streppone
wrote:
Only when I modify my site.pp to manually include the
given node, then everything starts to work just fine.
This is my working site.pp:
$server = "z01-06-02.mydomai
On Fri, Jan 7, 2011 at 1:57 PM, R.I.Pienaar wrote:
> I totally agree and the new design for external variables - which I dont think
> has been shared with the community for comment yet - is a good replacement for
> extlookup last time I saw what was planned.
The *only* reason that this hasn't be
On Fri, Jan 7, 2011 at 9:51 AM, Cosimo Streppone wrote:
> Hi,
>
> I just added an external classifier script, and things
> are not working as I expected to.
>
> Trying to read documentation about ext.nodes and
> searching the archives I couldn't come up with any
> useful results.
>
> My classifier
- Original Message -
> On Fri, Jan 7, 2011 at 1:41 PM, R.I.Pienaar < r...@devco.net > wrote:
>
>
> (forced to top post due to your html email)
>
> You cant avoid the scoping issues cos its broken. You can work around
> them though.
>
> You can be careful about where you set variables
On Fri, Jan 7, 2011 at 1:41 PM, R.I.Pienaar wrote:
> (forced to top post due to your html email)
>
> You cant avoid the scoping issues cos its broken. You can work around them
> though.
>
> You can be careful about where you set variables and how you include
> things. This
> isn't new we've been
On Jan 7, 2011, at 11:22 AM, Jeff McCune wrote:
> On Fri, Jan 7, 2011 at 2:47 AM, luke.bigum wrote:
> Hi list,
>
> Reading the thread "can a class require an other class?" it's been
> mentioned that perhaps one way forward for the Puppet language is to
> phase out the include keyword in favour
(forced to top post due to your html email)
You cant avoid the scoping issues cos its broken. You can work around them
though.
You can be careful about where you set variables and how you include things.
This
isn't new we've been doing it for years.
You can use extlookup to fetch variables fr
On Jan 7, 2011, at 9:09 AM, bg wrote:
> I've got a module that manages user id's, ssh-keys, and passwords. The
> passwords are fetched from a text file containing userid and password hashes,
> with the terms separated by a space.
>
> My manifest (which seems to work fine, short of the functio
On Jan 7, 2011, at 6:33 AM, Sébastien Barthélémy wrote:
> Hello again,
>
> thank you for your answers. I use puppet 2.6.4.
> I don't think I have a site.pp
>
> On Wed, 5 Jan 2011, Patrick wrote:
>> I'm finding that with my version of puppet (2.6.4), the checksum line
> has no effect on the run
On Fri, Jan 7, 2011 at 12:39 PM, R.I.Pienaar wrote:
>
>
> - Original Message -
> > On Fri, Jan 7, 2011 at 2:47 AM, luke.bigum <
> > luke.bi...@fasthosts.co.uk > wrote:
> >
> >
> >
> > Hi list,
> >
> > Reading the thread "can a class require an other class?" it's been
> > mentioned that pe
On Jan 7, 9:09 am, bg wrote:
> I've got a module that manages user id's, ssh-keys, and passwords. The
> passwords are fetched from a text file containing userid and password
bg,
Not exactly a suggestion for your specific issue but I wanted to
make sure you are aware of the generate functi
- Original Message -
> On Fri, Jan 7, 2011 at 2:47 AM, luke.bigum <
> luke.bi...@fasthosts.co.uk > wrote:
>
>
>
> Hi list,
>
> Reading the thread "can a class require an other class?" it's been
> mentioned that perhaps one way forward for the Puppet language is to
> phase out the incl
Hi
I am wondering if erb templates can parse an xml document, and input a valid
variable from within it?
Could someone please point me in the right direction?
Thank you kindly
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this gro
-Jeff
On Jan 7, 2011, at 6:51 AM, Brice Figureau
wrote:
> On Fri, 2011-01-07 at 15:33 +0100, Sébastien Barthélémy wrote:
>> Hello again,
>>
>> thank you for your answers. I use puppet 2.6.4.
>> I don't think I have a site.pp
>>
>> On Wed, 5 Jan 2011, Patrick wrote:
>>> I'm finding that with my v
On Fri, Jan 7, 2011 at 2:47 AM, luke.bigum wrote:
> Hi list,
>
> Reading the thread "can a class require an other class?" it's been
> mentioned that perhaps one way forward for the Puppet language is to
> phase out the include keyword in favour of parametrised classes. I'm
> thinking of my Puppet
I would like to see a dedicated group for this too. I have a few
opinions on the matter of language syntax and semantics.
My main frustration is the matter of slightly different methods for
declaring defines, nodes and classes.
Take these four examples a node, a define and the two class include/
To add, I'd like to see a formalized group too... I am slightly tired
of having several methods for declaring resources with different
syntax for roughly the same idea... Examples
node hostname{
stuff
}
cust_def { 'namestr':
}
On Jan 7, 9:30 am, Nigel Kersten wrote:
> On Fri, Jan 7, 2011 at
A couple updates.
First, I've been finding some other documentation on parameterized
classes. It seems this was first introduced in 2.6.0, which is the
version I am using. I'm going to start and try updating to 2.6.3 to
see if this gets addressed in a possible bugfix. Please feel free to
commen
Hi list!
I'm trying to organize a puppet meet-up in Manchester, UK (1) -
hopefully at madlab(2)
If you fancy coming could you register your interest. Dates are still
to be confirmed, but I'm pretty flexible and open to suggestions.
Thanks!
Joel
1) http://www.meetup.com/Puppet/55010/
2) http://
OK hat is what I was looking for, sorry for the noise.
On Jan 6, 2:04 pm, Daniel Pittman wrote:
> On Thu, Jan 6, 2011 at 12:29, Luc Suryo wrote:
> > Is it possible to define a class say php-fpm that requires the class
> > php to be called first? if so what s the syntax?
>
> Yes: package { "fo
On Fri, Jan 7, 2011 at 9:10 AM, R.I.Pienaar wrote:
> the overall point is there are features that are not designed in a way I
> believe has everyones needs in mind and certainly hasnt had community input.
I have to admit I was absent from the community when parameterized
classes were introduced
On Jan 7, 2011 9:07 AM, "Martin Harrigan" wrote:
> On Thu, Jan 6, 2011 at 5:55 PM, Daniel Pittman
wrote:
>> On Thu, Jan 6, 2011 at 09:24, Martin Harrigan
wrote:
>>
>> > I install the latest version of a Ruby gem using:
>> > package { 'passenger': ensure => latest, provider => 'gem' }
>> >
>> > H
- Original Message -
>
> Does it serve the users that we are recommending they use such a
> feature?
>
> I think the net gain is worth recommending parametrized classes.
>
> The net gain I see is that it helps new and veteran Puppet users
> flatten their nested scopes and avoid uninten
I've got a module that manages user id's, ssh-keys, and passwords. The
passwords are fetched from a text file containing userid and password
hashes, with the terms separated by a space.
My manifest (which seems to work fine, short of the function:
user { $username:
comm
On Thu, Jan 6, 2011 at 5:55 PM, Daniel Pittman wrote:
> On Thu, Jan 6, 2011 at 09:24, Martin Harrigan
> wrote:
>
> > I install the latest version of a Ruby gem using:
> >
> > package { 'passenger': ensure => latest, provider => 'gem' }
> >
> > However, I want to retrieve the actual version numbe
On Fri, Jan 7, 2011 at 3:26 AM, R.I.Pienaar wrote:
[snip]
> Then I am doubly perplexed. It's not a surprise that the feature isn't
> adequate perhaps even mistake has been made.
>
> Being that it is not done or fixed in stone you're almost guaranteed
> that its behavior, implications, perhaps
Dan,
First, thanks for the sysctl type/provider. I haven't tried it yet
but definitely plan to do so after I get this working. Augeas can be
a bit slow checking/editing files (about 1 sec per item I set) so this
could definitely not only make things easier but also faster.
Also, thanks for expl
It probably would be good idea to have a facter of the environment, guess
that could be a very quick way to know what environment the client/agent is
using.
On Fri, Jan 7, 2011 at 9:02 AM, Nigel Kersten wrote:
> On Fri, Jan 7, 2011 at 6:07 AM, Mohamed Lrhazi wrote:
> > Thanks a lot Nigel... I
Hi Adam,
Thanks for the link. I actually figured out the problem yesterday as being a
name resolution issue. Sort
of exactly what the Google bug article indicated.
Mike
-Original Message-
From: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] On
Behalf Of Adam Hein
On Fri, Jan 7, 2011 at 6:07 AM, Mohamed Lrhazi wrote:
> Thanks a lot Nigel... I do need to learn to create custom facts indeed.
I should add that even without this custom fact, "$environment" is
available to use as a variable in your Puppet manifests.
It's just not a fact, it's exposed as a glo
On Fri, Jan 7, 2011 at 6:27 AM, Ace wrote:
> Can you please state an example explaining how relating classes would
> execute one class before another?
class foo {
require "bar"
}
>
> On Jan 6, 3:15 pm, Nigel Kersten wrote:
>> On Thu, Jan 6, 2011 at 11:49 AM, Ace wrote:
>> > As you can see
On Fri, Jan 7, 2011 at 3:26 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
>> On Thu, Jan 6, 2011 at 2:19 PM, R.I.Pienaar < r...@devco.net > wrote:
>>
>>
>>> imho the right solution is a combination of the require and include
>>> keywords,resources requiring classes used extremely spari
> I created the tree /etc/puppet/modules/ntp/manifests/ and created an
> init.pp with this content:
>
> class ntp {
> package { "ntp": ensure => installed }
> service { "ntpd": ensure => stopped }
>
> }
Hi Jonathan,
How do you know the client isn't doing what you told it if ther
On Fri, 2011-01-07 at 15:33 +0100, Sébastien Barthélémy wrote:
> Hello again,
>
> thank you for your answers. I use puppet 2.6.4.
> I don't think I have a site.pp
>
> On Wed, 5 Jan 2011, Patrick wrote:
> > I'm finding that with my version of puppet (2.6.4), the checksum line
> has no effect on t
Hi,
I just added an external classifier script, and things
are not working as I expected to.
Trying to read documentation about ext.nodes and
searching the archives I couldn't come up with any
useful results.
My classifier script outputs:
--- YAML
---
classes:
- geodns::production::b
Hi all,
I'm a puppet newbie, so please bear with me. I've installed puppetmaster
on a CentOS box, and I have another CentOS box running as a test client
while I get to grips.
I installed puppetmaster from the EPEL repository.
I've added some content to site.pp and nodes.pp (in
/etc/puppet/m
On 01/07/2011 03:27 PM, Ace wrote:
> Can you please state an example explaining how relating classes would
> execute one class before another?
Ace,
in this simple case, you could probably get away with
define appendifnosuchline($file="", $line="") {
exec { "appendline_${file}_${line}":
Hello again,
thank you for your answers. I use puppet 2.6.4.
I don't think I have a site.pp
On Wed, 5 Jan 2011, Patrick wrote:
I'm finding that with my version of puppet (2.6.4), the checksum line
has no effect on the run time when run on a directory containing 10 files
that total 7.5GB. I am
Can you please state an example explaining how relating classes would
execute one class before another?
On Jan 6, 3:15 pm, Nigel Kersten wrote:
> On Thu, Jan 6, 2011 at 11:49 AM, Ace wrote:
> > As you can see the append function is running last and hence all this
> > is working. What controls th
On Thu, Jan 6, 2011 at 1:33 PM, wrote:
> This process seemed to work as far as keys go. However, when I
> restarted the puppetd client now I get a message
> In the log that states:
> Starting puppet client version 2.6.4
> Could not retrieve catalog from remote server; hostname was not a match
> w
Thanks a lot Nigel... I do need to learn to create custom facts indeed.
On Thu, Jan 6, 2011 at 11:22 PM, Nigel Kersten wrote:
> facter --puppet shows the facter facts, plus any that have been
> delivered by puppet and pluginsync.
>
> "environment" isn't a fact by default. You could make a fact
Thanks a lot guys... but how do I do this, both silencing reporting
and overriding noop mode, for a resource other than "exec"... mine is:
file {
"/etc/puppet/facts.yaml":
ensure => file,
content => inline_template("<%= scope.to_hash.reject { |k,v| !(
k.is_a?(String) && v.is_a?(Str
- Original Message -
> On Thu, Jan 6, 2011 at 2:19 PM, R.I.Pienaar < r...@devco.net > wrote:
>
>
>> imho the right solution is a combination of the require and include
>> keywords,resources requiring classes used extremely sparingly and the new
>> syntax as Danpointed out.
>>
>> What w
O I see :) Thanks Felix that makes a lot of sense.
I somehow got it in my head that people were managing to replace the
include keyword by passing parameters to classes, rather than just
using the parametrised class syntax, something like:
class["puppetmaster"] { $common, $puppet, $ldap_auth,
> class puppetmaster {
> include common
> include puppet
> include ldap_auth
> include iptables::disabled
> include httpd::ssl
> include ruby-enterprise::passenger
> }
Hi Luke,
I haven't dipped into 2.6 yet, but afaik, this would simply become
class puppetmaster {
class { [
"p
Hi list,
Reading the thread "can a class require an other class?" it's been
mentioned that perhaps one way forward for the Puppet language is to
phase out the include keyword in favour of parametrised classes. I'm
thinking of my Puppet and the several levels of include chaining I use
and I'm wonde
On Fri, 07 Jan 2011, Patrick wrote:
> On Jan 6, 2011, at 10:55 PM, Alan Barrett wrote:
> > I probably wouldn't do this, but:
> >
> >exec { "secret stuff":
> > command => "/bin/false",
> > unless => "do the real work here",
> >}
>
> I don't know if it's a problem, but this will pro
On Jan 6, 2011, at 10:55 PM, Alan Barrett wrote:
> On Thu, 06 Jan 2011, Mohamed Lrhazi wrote:
>> I added one resource to all the hosts, which dumps all environment
>> variables to a file called: /etc/mcollective/facts.yaml
>> This resource always reports that a change needs to be made, since
>> t
56 matches
Mail list logo