On 08/22/2011 06:29 PM, Mike Lococo wrote:
> This is a long-standing bug, and one that I consider fairly major but
> has been hard to get puppetlabs focused on.
>
> - The circular deps bug was reported 2 years ago.
> http://projects.puppetlabs.com/issues/1935
> - A few months later a patch is s
On Aug 22, 11:46 am, Stefan Schulte
wrote:
> On Mon, Aug 22, 2011 at 08:19:35AM -0700, jcbollinger wrote:
>
> > On Aug 21, 2:56 pm, Brian Troutwine wrote:
[...]
> > > Problem is that mount conflates the name of the
> > > resource with it's mount path; I'm defining the same thing two ways ea
On Aug 22, 12:12 pm, Stefan Schulte
wrote:
> Whenever you have the wrong device for a mount in your fstab you end up
> with mounts in mounts. For me this would happens a lot for nfs mounts where
> some machines are configured with hostname:/share and others with
> hostname.domain.tld:/share
>
>
On Aug 22, 8:11 am, puppetlurker wrote:
> Greetings,
>
> I'm having an issue with my implementation of exported resources. I
> have a memcache server pool, and want to update the /etc/php.d/
> memcache.ini with the ips of all the servers. Previously, I hard coded
> the $memcacheservers array in
On Aug 22, 9:28 am, Brian Troutwine wrote:
> On Mon, Aug 22, 2011 at 10:11 AM, jcbollinger
> wrote:
>
>
>
>
>
>
>
> > On Aug 19, 7:30 pm, Brian Troutwine wrote:
> > > Hello, all.
>
> > > Let's say I am building a super-weapon robot to destroy the world, save
> > for
> > > the people on a white
Hmmm. I upgraded, but when running a test I get:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- puppet/rails/resources
(MissingSourceFile)
# puppet help hostname
err: no such file to load -- puppet/rails/resources
There are:
/usr/li
On Aug 23, 9:21 am, jcbollinger wrote:
> The way to do this with exported resources is for each node to export
> a resource containing its own information only. The trick is choosing
> the resource to use for this.
>
> The simplest case would be if "/etc/php.d/memcache.ini" supports some
> kin
Nevermind, I found it:
http://projects.puppetlabs.com/projects/puppet/wiki/Generating_a_config_file_from_fragments
On Aug 23, 9:21 am, jcbollinger wrote:
> On Aug 22, 8:11 am, puppetlurker wrote:
>
>
>
>
>
>
>
>
>
> > Greetings,
>
> > I'm having an issue with my implementation of exported res
On Tue, Aug 23, 2011 at 3:09 AM, puppetlurker wrote:
> This looks promising! I should be able to create a fact on some
> servers, then collect those servers in a template. I'm going to
> upgrade to test this out.
>
>
Another option, just in case you dont want to upgrade your puppet
installation /
We have a need for nodes to specify a class to be included in their catalog.
What's the best (?) way to do this? Best I can tell, we'd have to customize
the Facter facts reported by the node to the master.
--
You received this message because you are subscribed to the Google Groups
"Puppet Use
Sadly, Steven, I ran into this same exact problem in Puppet. Your solution
won't be found in
changing to a different server setup (webrick to Passenger, for instance).
I've tested both
with a large number of files and they both fall on their face. Puppet
simply is not capable
of serving large
I did get this working. In a nutshell, I modified to_line like this;
def self.to_line(hash)
return super unless hash[:record_type] == :parsed
"#{hash[:name]}=#{hash[:value]}"
end
which handles the other line types. To handle wrapping values in
quotes, I changed the type like this;
ne
Hello,
I am trying to set a defaults groups before realize virtual resource
(user)
The default value is not used,
is it possible to define the default groups at this level ?
User { groups => 'ops' }
realize(
User["vincent"],
..
--
You received this message because you are subscrib
On Tue, Aug 23, 2011 at 10:32:54AM -0400, David Kavanagh wrote:
> I did get this working. In a nutshell, I modified to_line like this;
> def self.to_line(hash)
> return super unless hash[:record_type] == :parsed
> "#{hash[:name]}=#{hash[:value]}"
> end
As I said, I wouldn't to that. Ju
On Tue, Aug 23, 2011 at 7:34 AM, Vincent wrote:
> Hello,
>
> I am trying to set a defaults groups before realize virtual resource
> (user)
> The default value is not used,
> is it possible to define the default groups at this level ?
>
>
> User { groups => 'ops' }
> realize(
> User["vinc
On Tue, Aug 23, 2011 at 07:26, jblaine wrote:
> We have a need for nodes to specify a class to be included in their catalog.
> What's the best (?) way to do this? Best I can tell, we'd have to customize
> the Facter facts reported by the node to the master.
You got it in one: report whatever pr
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
It seems there's a problem including a class multiple times. By
stating that one class requires another, you formalize the dependency,
but don't actually have an include. What you do then is to include the
class in your main implementation which uses that class. That way, if
you have several classe
Out of curiosity, how are people using parameterized classes in a way that is
distinct from defined-types?
--
Digant C Kasundra
Infrastructure Systems Software Developer, ITS:IDG, Stanford University
--
You received this message because you are subscribed to the Google Groups
"Puppet Users"
Is anyone else noticing slowness with 2.7.1? When I run puppet on my 2.6.8
box, it takes 11 seconds. On my second box with exactly the same catalog, it
takes 35 seconds.
--
Digant C Kasundra
Infrastructure Systems Software Developer, ITS:IDG, Stanford University
--
You received this messag
Same here, Chuck. Updated the issue.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/CyGTQlF3kJUJ.
To post to this group, send email to puppet-users@google
Hi Stefan,
I have it working using your suggestions (I took out my hacks). I
adjusted the match regex to match the quotes in the value portion.
Otherwise, I kept getting more quotes added in each time the file was
processed.
The only glitch now is that it always thinks there's a comment, so
even if
for reference, here's how the regex matches the trailing comment;
http://rubular.com/r/vJUtBWpB6J
On Tue, Aug 23, 2011 at 4:17 PM, David Kavanagh wrote:
> Hi Stefan,
> I have it working using your suggestions (I took out my hacks). I
> adjusted the match regex to match the quotes in the value po
I understand regular expressions. been doing them a long time in
various languages. But, how are the fields determined from this regex?
David
On Tue, Aug 23, 2011 at 4:19 PM, David Kavanagh wrote:
> for reference, here's how the regex matches the trailing comment;
> http://rubular.com/r/vJUtBWpB
When I try to use mcollective to restart some jboss servers that take
a bit of time we get a timeout fail shown below. We are using the mc-
shellcmd plugin which does have a timeout of 300 listed in the rb but
we move that around and it seems to do no good. Is there a default
timeout variable we
On Tue, Aug 23, 2011 at 04:19:40PM -0400, David Kavanagh wrote:
> for reference, here's how the regex matches the trailing comment;
> http://rubular.com/r/vJUtBWpB6J
>
Yes, rubular shows all fields but the last field is in fact nil and not an
empty string. Try to replace
str += " # #{hash[:com
Like a charm!
What designates the fields in the regex? I'm having trouble finding
documentation on that part.
David
On Tue, Aug 23, 2011 at 4:59 PM, Stefan Schulte
wrote:
> On Tue, Aug 23, 2011 at 04:19:40PM -0400, David Kavanagh wrote:
>> for reference, here's how the regex matches the trailing
On Tue, Aug 23, 2011 at 04:27:30PM -0400, David Kavanagh wrote:
> I understand regular expressions. been doing them a long time in
> various languages. But, how are the fields determined from this regex?
>
> David
>
You have to put everything you want to capture in parentheses, so
/^Hello (.*
Oops, sorry, I moved this message over to mcollective users google
groups.
On Aug 23, 1:55 pm, Charlie Wyse wrote:
> When I try to use mcollective to restart some jboss servers that take
> a bit of time we get a timeout fail shown below. We are using the mc-
> shellcmd plugin which does have a t
yes, That's actually does. I wasn't finding much to read about this.
David
On Tue, Aug 23, 2011 at 5:12 PM, Stefan Schulte
wrote:
> On Tue, Aug 23, 2011 at 04:27:30PM -0400, David Kavanagh wrote:
>> I understand regular expressions. been doing them a long time in
>> various languages. But, how a
Yes... that's what I had
On Tue, Aug 23, 2011 at 10:53 AM, David Kavanagh wrote:
> It seems there's a problem including a class multiple times. By
> stating that one class requires another, you formalize the dependency,
> but don't actually have an include. What you do then is to include the
On Tue, Aug 23, 2011 at 05:47:07PM -0400, David Kavanagh wrote:
> yes, That's actually does. I wasn't finding much to read about this.
>
> David
Maybe http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html#UN
-Stefan
pgppZP1OBsrlU.pgp
Description: PGP signature
Hi,
On Aug 23, 8:58 am, Jeffrey wrote:
> Noticed today that facter-1.6.0 is reporting Oracle Linux 6.1 as
> "RedHat".
I've added an issue for this on the Puppet Labs site[1] and submitted
a patch via GitHub to determine OracleLinux properly from 5 Update 6
and 6. This adds "OracleLinux" as an op
33 matches
Mail list logo