Someone told me yesterday that collective wasn't free, New to me. Has
something changed in the past month, or are they looking at the
commercial version? The web site must be somewhat confusing if a new
user thinks it costs, but it doesn't.
Doug
--
You received this message because you are subsc
Sorry if there's an mcollective mailing list...
So, I'm working for a company that using OpenSUSE, which in my opinion
is a very bad idea.
Anyway, how can I get collective for OpenSUSE that doesn't involve
using tarballs? It's not in the standard OpenSUSE repo's. Does someone
else have a repo? Ar
On Wed, Mar 14, 2012 at 9:59 AM, Darin Perusich wrote:
> There's a .spec in the tarball that builds cleanly when you comment
> out the two %defines and manually set the version and release. The
> %defines cause a "Too many levels of recursion in macro expansion."
> error.
Darin,
I haven't gone b
On Wed, Mar 14, 2012 at 12:37 PM, Darin Perusich wrote:
> Hi Douglas,
>
>
> On Wed, Mar 14, 2012 at 3:22 PM, Douglas Garstang
> wrote:
>> On Wed, Mar 14, 2012 at 9:59 AM, Darin Perusich wrote:
>>> There's a .spec in the tarball that builds cleanly when you c
I've always found the mcollective docs at
http://docs.puppetlabs.com/mcollective/reference/basic/gettingstarted.html
very confusing.
What _exactly_ goes on the client (i.e. the remote system)? The docs
talk about editing both the server.cfg and the client.cfg files. The
server.cfg file is part of
I have a 2.7.6 server and a 2.6.4 client. I'm trying to use ext_lookup.
site.pp:
$extlookup_datadir = "/etc/puppet/manifests/extdata"
$extlookup_precedence = ["%{fqdn}", "domain_%{domain}", "common"]
/etc/puppet/manifests/extdata/common.csv:
key1,var1:
manifest has:
$var1 = extlookup(“key1”, "Un
On Mon, Mar 19, 2012 at 5:53 PM, Gary Larizza wrote:
>
>
> On Tue, Mar 20, 2012 at 11:35 AM, Douglas Garstang
> wrote:
>>
>> I have a 2.7.6 server and a 2.6.4 client. I'm trying to use ext_lookup.
>>
>> site.pp:
>> $extlookup_datadir = "/et
On Tue, Mar 20, 2012 at 7:33 AM, Douglas Garstang
wrote:
> On Mon, Mar 19, 2012 at 5:53 PM, Gary Larizza wrote:
>>
>>
>> On Tue, Mar 20, 2012 at 11:35 AM, Douglas Garstang
>> wrote:
>>>
>>> I have a 2.7.6 server and a 2.6.4 client.
On Tue, Mar 20, 2012 at 8:03 AM, Douglas Garstang
wrote:
> On Tue, Mar 20, 2012 at 7:33 AM, Douglas Garstang
> wrote:
>> On Mon, Mar 19, 2012 at 5:53 PM, Gary Larizza wrote:
>>>
>>>
>>> On Tue, Mar 20, 2012 at 11:35 AM, Douglas Garstang
>>> wr
On Tue, Mar 20, 2012 at 9:55 AM, Nan Liu wrote:
> On Tue, Mar 20, 2012 at 9:33 AM, Douglas Garstang
> wrote:
>> On Tue, Mar 20, 2012 at 8:03 AM, Douglas Garstang
>> wrote:
>>> On Tue, Mar 20, 2012 at 7:33 AM, Douglas Garstang
>>> wrote:
>>>> On M
I'm having some weird issues with puppet 2.7.6 on OpenSUSE.
When I run puppet in the foreground, it's all fine. However, when I
run it as a service, all that get's logged is:
abc:/var/log/puppet # cat puppet.log
Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn't seem to
support UTF-8/
Is there any way to get relative symlinks in puppet?
This:
file {
"tomcat-current":
#"/opt/foo/apache-tomcat-current":
ensure => link,
target => "/opt/foo/apache-tomcat-${tomcat_version}";
}
yields:
Wed Mar 21 09:58:05 -0700 2012 Puppet (err): Fai
> $ ls -l /tmp/link_to_zz
> lrwxrwxrwx 1 cwood cwood 2 Mar 21 13:03 /tmp/link_to_zz -> zz
>
> (ln target linkname)
>
> On Wed, Mar 21, 2012 at 09:59:50AM -0700, Douglas Garstang wrote:
>> Is there any way to get relative symlinks in puppet?
>>
>> This:
>
All,
I have a module that I would like to set a variable for, and then if that is
variable is set, consider the module (which deploys software), in
'maintenance mode', where it drops out of the module, and moves into the
next module, kind of like a return function. Can puppet do that? I don't
want
Oh... right... of course... Put the logic one level up... That will work. Thanks
On Jun 21, 2011, at 5:54 PM, Patrick wrote:
>
> On Jun 21, 2011, at 5:04 PM, Douglas Garstang wrote:
>
>> All,
>>
>> I have a module that I would like to set a variable for, and then
All,
Can puppet dashboard be used WITHOUT MySQL?
Can't find it documented here:
http://docs.puppetlabs.com/guides/installing_dashboard.html#external_node_classification
Doug.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this gr
Oh. That's a deal breaker. :( Makes the puppet dashboard unusable.
On Mon, Jun 27, 2011 at 10:32 AM, Jacob Helwig wrote:
> On Mon, 27 Jun 2011 10:24:38 -0700, Douglas Garstang wrote:
> >
> > All,
> >
> > Can puppet dashboard be used WITHOUT MySQL?
>
Actually, to be more specific, our nodes are stored in yaml files, and I'd
like to keep them that way, and continue to have the yaml files as the
source of truth, not a MySQL database. Puppet dashboard should read from
those yaml files.
Doug.
On Mon, Jun 27, 2011 at 10:24 AM, Douglas Gar
On Mon, Jun 27, 2011 at 10:49 AM, Nan Liu wrote:
> On Mon, Jun 27, 2011 at 10:35 AM, Douglas Garstang
> wrote:
> > Actually, to be more specific, our nodes are stored in yaml files, and
> I'd
> > like to keep them that way, and continue to have the yaml files as the
On Mon, Jun 27, 2011 at 12:30 PM, Ohad Levy wrote:
> On Mon, Jun 27, 2011 at 9:40 PM, Douglas Garstang
> wrote:
> > On Mon, Jun 27, 2011 at 10:49 AM, Nan Liu wrote:
> >>
> >> On Mon, Jun 27, 2011 at 10:35 AM, Douglas Garstang
> >> wrote:
> >>
On Fri, Jul 1, 2011 at 3:48 PM, James Turnbull wrote:
> Nicolas Arias wrote:
>
>> Hi guys!.
>>
>> I want to use puppet to automate initial linux hardening and to
>> maintain a security configuration standard.
>>
>> Does any one knows if there are modules going around that take care of
>> the usua
All,
Is there a way to tell puppet to run, but to skip/ignore resources with a
certain tag? The use case is tagging certain resources as, say, 'software
deployment', and then having the resources tagged as that always ignored
unless specifically told to do so? We'd like to put software deployment
gt; 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 more options,
Does anyone know where I can get the latest puppet, 2.7.1 as RPM's?
The spec file that comes with the puppet 2.7.1 source is broken again, and
only version 0.25.5 seems to be available via EPEL, which means that the
website's assertion that you can get puppet as an RPM from there is somewhat
untru
All,
I'm upgrading puppet clients from 0.25.5 to 2.7.1. I've rolled an RPM for
the new version, and I'm:
1. Stopping puppet
2. Upgrading RPM
3. Change the puppet master on the client to point to a new puppet master
running 2.7.1.
3. Starting puppet
I am seeing this in the log files on the client
On Wed, Jul 27, 2011 at 2:01 PM, Jacob Helwig wrote:
> On Wed, 27 Jul 2011 13:58:25 -0700, Douglas Garstang wrote:
> >
> > All,
> >
> > I'm upgrading puppet clients from 0.25.5 to 2.7.1. I've rolled an RPM for
> > the new version, and I'm:
>
On Wed, Jul 27, 2011 at 2:01 PM, Jacob Helwig wrote:
> On Wed, 27 Jul 2011 13:58:25 -0700, Douglas Garstang wrote:
> >
> > All,
> >
> > I'm upgrading puppet clients from 0.25.5 to 2.7.1. I've rolled an RPM for
> > the new version, and I'm:
>
On Wed, Jul 27, 2011 at 2:10 PM, Douglas Garstang
wrote:
> On Wed, Jul 27, 2011 at 2:01 PM, Jacob Helwig wrote:
>
>> On Wed, 27 Jul 2011 13:58:25 -0700, Douglas Garstang wrote:
>> >
>> > All,
>> >
>> > I'm upgrading puppet clients from 0.
All,
I'm trying to set puppet 2.7.1 up in a HA configuration by following the
steps in the new 'Pro Puppet' book. I got puppet working with passenger
initially, and confirmed that was working.
The fact I can't really point to the book as a reference here makes it a bit
hard to describe what I am
Well, this is frustrating.
Let's say I have two puppet masters, where one is active, and the other is a
hot stand by. Obviously each is going to have a different FQDN. Everything
will work fine when the client talks to the server that signed it's
certificate. However, after a failover to the secon
On Sat, Jul 30, 2011 at 8:03 PM, Douglas Garstang
wrote:
> Well, this is frustrating.
>
> Let's say I have two puppet masters, where one is active, and the other is
> a hot stand by. Obviously each is going to have a different FQDN. Everything
> will work fine when the client
On Sat, Jul 30, 2011 at 10:38 PM, James Turnbull wrote:
> Douglas Garstang wrote:
> > Well, this is frustrating.
> >
> > Let's say I have two puppet masters, where one is active, and the other
> > is a hot stand by. Obviously each is going to have a different FQD
On Mon, Aug 1, 2011 at 8:03 AM, linuxbsdfreak wrote:
> HI Doug,
>
> I am also facing the same issue after following the steps from the
> book. I tried with nginx and passenger and i mentioned it on the
> following post.
>
>
> http://groups.google.com/group/puppet-users/browse_thread/thread/44bc894
So the new extlookup that can apparently read YAML files, here:
http://www.devco.net/archives/2011/05/28/pluggable_extlookup_for_puppet.php
Are there any docs on how to actually install? I need a _little_ more than a
reference to the source code on github
Doug.
--
You received this mes
:(
On Sun, Jul 31, 2011 at 8:32 PM, Jeff McCune wrote:
> On Sat, Jul 30, 2011 at 3:01 PM, Nigel Kersten wrote:
>
>>
>>
>> On Sat, Jul 30, 2011 at 2:53 PM, Douglas Garstang <
>> doug.garst...@gmail.com> wrote:
>>
>>> All,
>>>
&g
On Wed, Aug 3, 2011 at 9:20 AM, jcbollinger wrote:
>
> On Aug 2, 5:16 pm, Aaron Grewell wrote:
> > I think you'll need to use both an include and a require. The include
> makes
> > the class(es) in the file available, the require creates the actual
> > dependency.
>
> Yes, if the class in questi
On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> > So the new extlookup that can apparently read YAML files, here:
> >
> >
> >
> http://www.devco.net/archives/2011/05/28/pluggable_extlookup_for_puppet.php
> >
> >
> > Are there any docs on how to actuall
On Wed, Aug 3, 2011 at 10:28 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> >
> > On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar < r...@devco.net > wrote:
> >
> >
> >
> >
> >
> >
> >
> > - Original Message -
> > > So the new extlookup that can apparently read YAML files, he
On Wed, Aug 3, 2011 at 10:37 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> >
> > >
> > > its not in puppet core and probably wont be, a more complete system
> > > is @ http://www.devco.net/archives/tag/hiera
> > >
> > >
> > >
> > >
> > > I realise it's not integrated into puppet. He
Anyone using? The docs are really bad.
Doug
--
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
On Wed, Aug 3, 2011 at 2:56 PM, jcbollinger wrote:
>
>
> On Aug 3, 12:23 pm, Douglas Garstang wrote:
> > On Wed, Aug 3, 2011 at 9:20 AM, jcbollinger >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > On Aug 2, 5:16 pm, Aaron Gre
Can't get the extlookup() that supports yaml to work.
I did this...
On server:
mv /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb.orig
Replaced /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb
with p
On Wed, Aug 3, 2011 at 3:50 PM, Douglas Garstang wrote:
> Can't get the extlookup() that supports yaml to work.
>
> I did this...
>
> On server:
> mv /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb
> /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/ex
On Wed, Aug 3, 2011 at 4:15 PM, Aaron Grewell wrote:
> Precedence is for having it look in multiple places. I've got node-level,
> site-level, and default YAML files for example.
>
> On Wed, Aug 3, 2011 at 3:50 PM, Douglas Garstang
> wrote:
>
>> Can't get the
t; Looks pretty straight forward to me. What are you trying to do?
>
> On Wed, Aug 3, 2011 at 1:29 PM, Douglas Garstang
> wrote:
>
>> Anyone using? The docs are really bad.
>>
>> Doug
>>
>> --
>> You received this message because you are subscribed to
On Wed, Aug 3, 2011 at 4:22 PM, Scott Smith wrote:
> https://github.com/ripienaar/hiera-puppet
>
> Check the "Puppet" section in the heira README
>
>
>
>
Are you referring to this?
'It also includes a Puppet function that works like extlookup() but uses the
Hiera backends.'.
I _may_ need a litt
On Wed, Aug 3, 2011 at 4:25 PM, Aaron Grewell wrote:
> Example Config:
> ---
> :parser: YAML
> :precedence:
> - %{environment}/nodes/%{fqdn}
> - %{environment}/nodes/cluster_%{cluster}
> - %{environment}/nodes/site_%{site}
> - %{environment}/nodes/default
> :yaml:
>:datadir: /usr/share/puppet/
irectory, probably what you're looking for
>
> https://github.com/ripienaar/hiera-puppet/tree/master/example
>
> On Wed, Aug 3, 2011 at 4:26 PM, Douglas Garstang
> wrote:
>
>> On Wed, Aug 3, 2011 at 4:22 PM, Scott Smith wrote:
>>
>>> https://github.com/ri
d into a whole set of package
> resources with a single entry:
> package {$default_packages:}
>
> On Wed, Aug 3, 2011 at 4:31 PM, Douglas Garstang
> wrote:
>
>> On Wed, Aug 3, 2011 at 4:25 PM, Aaron Grewell wrote:
>>
>>> Example Config:
>>> ---
My own post? y?
On Wed, Aug 3, 2011 at 4:40 PM, Scott Smith wrote:
> http://groups.google.com/group/puppet-users/msg/6432a6dd539b542f
>
>
> On Wed, Aug 3, 2011 at 4:37 PM, Douglas Garstang
> wrote:
>
>> Ok, so am I getting 'DougBobBill' when I use
ich is
> to concatenate arrays & hashes together into a string representation when
> you're printing it.
>
>
> On Wed, Aug 3, 2011 at 4:34 PM, Douglas Garstang
> wrote:
>
>> So, I'll ask this question...
>>
>> With hiera, can you retrieve complex m
> variable[key][subkey][subsubkey]
>
> You've really got to read the language guide, it explains the use of arrays
> and hashes pretty well:
> http://docs.puppetlabs.com/guides/language_guide.html
>
>
> On Wed, Aug 3, 2011 at 4:49 PM, Douglas Garstang
> wrote:
>
>
No luck with that either.
On Wed, Aug 3, 2011 at 5:51 PM, Aaron Grewell wrote:
> No, pull the whole hash and break it down afterwards.
> On Aug 3, 2011 5:15 PM, "Douglas Garstang"
> wrote:
> > Aaron,
> >
> > I'm not sure you understood my question.
uby magic inside templates to get the values I need? Why can't
puppet even print these values out? How do I access them in the puppet? The
language guide says I can do this...
Doug.
On Wed, Aug 3, 2011 at 6:00 PM, Douglas Garstang wrote:
> No luck with that either.
>
>
> On Wed,
Crap.
Should be:
notice($t['given'])
I need a vacation...
On Wed, Aug 3, 2011 at 6:09 PM, Douglas Garstang wrote:
> Well, this is weird...
>
> If I have this yaml file:
>
> ---
> customer:
> given: Dorothy
> family: Gale
>
> and this p
I've got this:
file {
'/opt/sugarsync/tomcat/tomcat-home/current':
ensure => "tomcat-$config['tomcat_version_server']";
where $config['tomcat_version_server'] was set with extlookup (the yaml
one), by loading:
---
tomcat_config:
tomcat_version_server: 6.0.20-1
tomcat_
On Mon, Aug 8, 2011 at 11:22 AM, Brian Gallew wrote:
> String interpolation in the Puppet DSL is strictly variable->string, and
> does not handle arrays. For what you want, use
> inline_template("tomcat-<%= $config['tomcat_version_server'] %>")
>
>
Thanks. That did it. Ugly...
On Mon, Aug 8, 2011 at 12:47 PM, vagn scott wrote:
> On 08/08/2011 02:52 PM, Douglas Garstang wrote:
>
>>
>>file {
>>'/opt/sugarsync/tomcat/tomcat-**home/current':
>>ensure => inline_template("
gt;
> On Mon, Aug 8, 2011 at 12:58 PM, Douglas Garstang > wrote:
>
>> Thanks. That did it. Ugly...
>>
>>
>> On Mon, Aug 8, 2011 at 12:47 PM, vagn scott wrote:
>>
>>> On 08/08/2011 02:52 PM, Douglas Garstang wrote:
>>>
&g
>>
>>> Works the same as it does in Bourne shell. If you want to use double
>>> quotes inside a double-quoted string, you have to escape them. Or use single
>>> quotes.
>>>
>>> On Mon, Aug 8, 2011 at 12:58 PM, Douglas Garstan
than the inline template approach (which didn't work for
the name anyway).
Doug.
On Mon, Aug 8, 2011 at 2:25 PM, Stefan Schulte <
stefan.schu...@taunusstein.net> wrote:
> On Mon, Aug 08, 2011 at 11:19:36AM -0700, Douglas Garstang wrote:
> > I've go
All,
I have this:
#
# External configuration data.
#
$config = extlookup("platform_config",
extlookup("platform_config",
extlookup("platform_config",
extlookup("platform_config",
"Unknown",
"config/${ss_fac}/${s
p.
> 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 more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
--
Regards,
If I have:
class service::common {
file {
'/etc/foo':
ensure => directory;
'/etc/init.d/ss-functions':
content => template('service/etc/init.d/ss-functions.erb'),
require => File['/etc/foo'],
}
}
class platform::common {
include ser
Oh. I didn't realise that. Thought it was darn Thanks.
On Wed, Aug 17, 2011 at 10:52 AM, Scott Smith wrote:
> Don't think you need to include if there is a require
> On Aug 17, 2011 9:50 AM, "Douglas Garstang"
> wrote:
> > If I have:
> >
> &g
Actually, no, I think you DO need it.
On Wed, Aug 17, 2011 at 11:30 AM, Douglas Garstang
wrote:
> Oh. I didn't realise that. Thought it was darn Thanks.
>
>
> On Wed, Aug 17, 2011 at 10:52 AM, Scott Smith wrote:
>
>> Don't think you need to include if
Can someone please succinctly explain to me the difference between include
and require?
The documentation implies that simply putting 'require ' at the top
of a different class automatically means that is fully implemented
as a dependency. However, it doesn't seem to work that way. Also, I'm not
;
> David
>
> On Tue, Aug 23, 2011 at 1:51 PM, Douglas Garstang
> wrote:
> > Can someone please succinctly explain to me the difference between
> include
> > and require?
> > The documentation implies that simply putting 'require ' at the
> top
>
All,
Can someone give me some ideas as to, or point me to where I can find
documentation on the issues I may have upgrading puppet from 0.25.4 to the
latest?
Also, the server is using passenger, and I know there's a whole lot of magic
voodoo that has to happen to make sure that the version number
I know this is a crazy request, but I was kind of wondering why it was so
hard for Puppet Labs to maintain the RPM spec file that comes contained in
the release tarball, so that modifications weren't required to actually get
it to build. Crazy huh?
For example, the SPEC file contains this...
Vers
All, I am not sure if I am approaching this in the right manner, but if I
have the following yaml file, and I am using extlookup() to grab the data:
---
erased_config:
instances:
- { id: 0, metrics_port: 2, host_name: hsync00, mount_point: /,
assign_new_users: false }
- { id: 1, metr
Can I do this in an external node?
parameters:
foo:
- { id: 0, Name: Doug }
And access it with:
notice ("DATA=$foo[0]['Name']")
?
Doug
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-use
I must be asking hard questions.
On Fri, Aug 26, 2011 at 10:04 AM, Douglas Garstang
wrote:
> Can I do this in an external node?
>
> parameters:
> foo:
> - { id: 0, Name: Doug }
>
> And access it with:
>
> notice ("DATA=$foo[0]['Name']"
Anyone,
I've read this doc several times:
http://docs.puppetlabs.com/guides/plugins_in_modules.html
As a whole, it really doesn't make sense. It seems pretty obvious it was
written by someone with deep knowledge of the subject, but there is little
context for someone like me. Is there better doc
rst defining or describing it in some
fashion.
Doug
On Thu, Sep 1, 2011 at 6:21 AM, jcbollinger wrote:
>
>
> On Aug 31, 7:40 pm, Douglas Garstang wrote:
> > Anyone,
> >
> > I've read this doc several times:
> >
> > http://docs.puppetlabs.com/guides/plugins
I have a real-world, best practices, procedural question.
How do you manage the he puppet master, under /etc/puppet, where multiple
people may be editing files? The /etc/puppet directory is a working copy,
and each user has read access to files created by other users. However, if
one person adds a
11:47 AM, Douglas Garstang > wrote:
>
>> I have a real-world, best practices, procedural question.
>>
>> How do you manage the he puppet master, under /etc/puppet, where multiple
>> people may be editing files? The /etc/puppet directory is a working copy,
>> and
On Thu, Sep 1, 2011 at 1:35 PM, Steven VanDevender wrote:
> Douglas Garstang writes:
> > Was that in reply to my original post, or a subsequent reply? You did
> see
> > where I said /etc/puppet was a working copy, right?
>
> It sounds like you need to get to the point
On Thu, Sep 1, 2011 at 1:35 PM, Steven VanDevender wrote:
> Douglas Garstang writes:
> > Was that in reply to my original post, or a subsequent reply? You did
> see
> > where I said /etc/puppet was a working copy, right?
>
> It sounds like you need to get to the point
So, after reading this doc:
http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
it's not readily apparent to me how I can create facts that are derived from
variables defined at the node level in puppet, rather than at the O/S level
on the client. I want to be able to set a variable that
On Thu, Sep 1, 2011 at 4:31 PM, Aaron Grewell wrote:
> You can't. The whole purpose of facts is to allow Puppet to make decisions
> based on client data. Variables=server, facts=client.
>
>
Seriously??? I can edit mcollective's server.cfg file and change the
factsource from facter to yaml, and t
On Thu, Sep 1, 2011 at 4:56 PM, Aaron Grewell wrote:
> Create a variable for server_class in your node definition.
>
>
>
And then?
--
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@googlegroup
On Thu, Sep 1, 2011 at 4:58 PM, Aaron Grewell wrote:
> And then assign classes based on that. Standard if logic or case statement
> as you prefer.
>
> On Thu, Sep 1, 2011 at 4:57 PM, Douglas Garstang
> wrote:
>
>> On Thu, Sep 1, 2011 at 4:56 PM, Aaron Grewell wrote:
>
On Thu, Sep 1, 2011 at 5:05 PM, Aaron Grewell wrote:
> Ah. I don't know how mcollective works so I'm not sure how to address
> that. If there's a YAML data file involved then you could push it with
> Puppet...
>
>
>
Yes, mcollective can read a YAML file, which by default is
/etc/mcollective/fact
wiki/FactsFacterYAML
>
> If I'm reading the code correctly (somewhat questionable, my Ruby-foo is
> weak) it should return all top-scope variables and facts.
>
> On Thu, Sep 1, 2011 at 5:13 PM, Douglas Garstang
> wrote:
>
>> On Thu, Sep 1, 2011 at 5:05 PM, Aaron Gre
Thanks Nigel, but there's no mention of classes.txt on that page.
On Thu, Sep 1, 2011 at 5:16 PM, Nigel Kersten wrote:
>
>
> On Thu, Sep 1, 2011 at 5:02 PM, Douglas Garstang
> wrote:
>
>> On Thu, Sep 1, 2011 at 4:58 PM, Aaron Grewell wrote:
>>
>>&
ing, ie a class of server, and query that with
mcollective. Should not be difficult to do.
Doug.
On Thu, Sep 1, 2011 at 5:37 PM, Douglas Garstang wrote:
> Thanks Nigel, but there's no mention of classes.txt on that page.
>
>
> On Thu, Sep 1, 2011 at 5:16 PM, Nigel Kersten wrote:
>
d do it the right way. I try and make my questions as
specific as possible so that I can get options that are as specific to the
problem at hand as possible.
On Thu, Sep 1, 2011 at 6:14 PM, Nigel Kersten wrote:
>
>
> On Thu, Sep 1, 2011 at 5:40 PM, Douglas Garstang
> wrote:
>
>>
On Thu, Sep 1, 2011 at 10:30 PM, Matt Moor wrote:
> On 2/09/11 3:03 PM, Douglas Garstang wrote:
>
>> I really appreciate your reply, but I've inherited a mess that isn't easy
>> to fix, and the most appropriate solution for right now isn't always the
>> &
On Fri, Sep 2, 2011 at 11:26 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> >
> > At the end of the day, this all seems to be a limitation with
> > mcollective. It can only read facts from one source, either facter
> > or a yaml file. I believe facter is the current source, and peopl
So... a general question.
When sourcing node variables, what is the better approach...
a) In each module included by the node, use something like extlookup to get
the variables you need, as you need them, OR
b) Have your external node script gather and dump _all_ the variables the
the node may ne
On Fri, Sep 2, 2011 at 12:06 PM, Douglas Garstang
wrote:
>
> On Fri, Sep 2, 2011 at 11:26 AM, R.I.Pienaar wrote:
>
>>
>>
>> - Original Message -
>> >
>> > At the end of the day, this all seems to be a limitation with
>> > mcollective.
tus["time"]
>self.version = resource_status["version"]
> def __repr__(self):
>return "(evaluation=%r, events=%r, file=%r, line=%r, resource=%r,
> source_description=%r, tags=%r, time=%r, version=%r)" %
> (self.evaluation, self.events, self.fi
The puppet documentation at
http://docs.puppetlabs.com/references/stable/function.html says for
the require function, that:
"Evaluate one or more classes, adding the required class as a dependency."
This implies that any resources in the required class are
automatically added as a dependancy. I'm
On Tue, Sep 6, 2011 at 11:52 AM, Douglas Garstang
wrote:
> The puppet documentation at
> http://docs.puppetlabs.com/references/stable/function.html says for
> the require function, that:
>
> "Evaluate one or more classes, adding the required class as a dependency."
On Tue, Sep 6, 2011 at 1:19 PM, R.I.Pienaar wrote:
>
>
> - Original Message -
>>
>>
>> That's a feature in newish versions, right?
>
> no, it's been there for ages and ages.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To pos
On Wed, Sep 7, 2011 at 3:03 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
>> On Sep 6, 8:54 pm, "R.I.Pienaar" wrote:
>> > - Original Message -
>> >
>> > files auto require their parents, it's not even needed to do
>> > the require => or require()
>> >
>> >
>> Could you please
On Wed, Sep 7, 2011 at 2:27 PM, Nigel Kersten wrote:
> On Wed, Sep 7, 2011 at 2:25 PM, Douglas Garstang
> wrote:
>>
>> Actually, that's not true. I have seen numerous situations where
>> puppet tries to create /foo/bar before /foo, and then complains that
>&g
On Wed, Sep 7, 2011 at 3:12 PM, Nigel Kersten wrote:
>
>
> On Wed, Sep 7, 2011 at 2:35 PM, Douglas Garstang
> wrote:
>>
>> On Wed, Sep 7, 2011 at 2:27 PM, Nigel Kersten
>> wrote:
>> > On Wed, Sep 7, 2011 at 2:25 PM, Douglas Garstang
>> >
>
On Wed, Sep 7, 2011 at 3:37 PM, Adam Gibbins wrote:
>
> On 7 September 2011 23:22, Douglas Garstang wrote:
>>
>> We'l see. To be honest, motivation is rather low right now because I
>> was just kicked off the mcollective mailing list by Mr Pienaar for
>> askin
1 - 100 of 678 matches
Mail list logo