I have created a define that needs to be able to notify a Service.
Everything I've read seems to indicate that the resources inside the
define should inherit any metaparameters passed into the define.
See:
http://groups.google.com/group/puppet-users/browse_thread/thread/c28aa647e774cc84/0fd4387
Hello,
I'm having an issue with exported resources. I've been using stored
configs for a while and that all works. But with exported resources,
most of the time (but not always), I get the following error:
err: Could not retrieve catalog: Puppet::Parser::Compiler failed with
error ActiveRecord::
On Thu, Jan 15, 2009 at 05:17:37PM -0800, Robin Lee Powell wrote:
>
>
> I've set up this machine, I think, like my two others. I've
> compiled and installed:
>
> facter-1.5.2
>
> puppet-0.24.7
>
> augeas-0.3.5
>
> Also, done gem install ruby-augeas-0.2.0.gem
>
> All of it seemed to work, b
I've set up this machine, I think, like my two others. I've
compiled and installed:
facter-1.5.2
puppet-0.24.7
augeas-0.3.5
Also, done gem install ruby-augeas-0.2.0.gem
All of it seemed to work, but:
$ /usr/bin/puppetd -t --noop
err: Could not create no usecacheonfailure: Could not find a
On Thu, 2009-01-15 at 14:43 -0800, windowsrefund wrote:
> Now that I'm more comfortable working with the schemas of each
> supported file, I'm seeing a potential issue when it comes to
> appending. Is there a way to determine the length of each object so I
> can avoid doing things like /files/etc/
On Thu, 2009-01-15 at 14:21 -0800, Robin Lee Powell wrote:
> Yes, you have to actually set something that matches the structure
> of the file in question, which varies by file. Most of the lenses
> have shit for documentation, unfortunately, and this one is no
> exception.
I'd argue there's even
On Thu, 2009-01-15 at 14:10 -0800, windowsrefund wrote:
> Bryan,
>
> Thanks so much for the pointer. I think I'm on the right track now but
> could use a hand understanding why I'm getting this error when
> attempting to write out to disk
>
> augtool> print /files/etc/exports/
> /files/etc/expor
I'm trying to add a "node type" variable that can be interpolated into
source values. In this, my latest attempt, $nodetype always ends up
as "base":
# manifests/nodes
$nodetype = "base"
node "base" {
include postfix
...snip...
}
node "www01", "www02", ... , "www10" inherits "base" {
Robin Lee Powell wrote:
> On Thu, Jan 15, 2009 at 11:43:50PM +0100, Peter Meier wrote:
>>> Doing this in Puppet is left as an exercise for the reader.
>>> I'll go see about getting better docs in Augeas for this thing.
>> would be nice if somebody could document her/his experiences with
>> puppet a
On Thu, Jan 15, 2009 at 11:43:50PM +0100, Peter Meier wrote:
>
> > Doing this in Puppet is left as an exercise for the reader.
> > I'll go see about getting better docs in Augeas for this thing.
>
> would be nice if somebody could document her/his experiences with
> puppet and augeas on the wiki
Not that I'm aware of. You can use last() instead of a number (and,
in fact, you have to in this case; see my long mail), but for
appending the current standard is to use a very large number (like
1). A bit weak, I know. Feel free to complain to the Augeas
mailing list.
-Robin
On Thu, Jan
Hi
> Doing this in Puppet is left as an exercise for the reader. I'll
> go see about getting better docs in Augeas for this thing.
would be nice if somebody could document her/his experiences with puppet
and augeas on the wiki.
cheers pete
--~--~-~--~~~---~--~
Now that I'm more comfortable working with the schemas of each
supported file, I'm seeing a potential issue when it comes to
appending. Is there a way to determine the length of each object so I
can avoid doing things like /files/etc/exports/dir[100] ?
Best,
Adam
On Jan 15, 5:22 pm, Robin Lee P
Thanks so much :)
On Jan 15, 5:22 pm, Robin Lee Powell
wrote:
> On Thu, Jan 15, 2009 at 02:10:57PM -0800, windowsrefund wrote:
>
> > Bryan,
>
> > Thanks so much for the pointer. I think I'm on the right track now but
> > could use a hand understanding why I'm getting this error when
> > attempt
On Thu, Jan 15, 2009 at 02:10:57PM -0800, windowsrefund wrote:
>
> Bryan,
>
> Thanks so much for the pointer. I think I'm on the right track now but
> could use a hand understanding why I'm getting this error when
> attempting to write out to disk
>
> augtool> print /files/etc/exports/
> /files
On Thu, Jan 15, 2009 at 04:27:20PM -0500, Bryan Kearney wrote:
>
> windowsrefund wrote:
> > augeas { "$name":
> > context => "/files",
> > changes => "set /etc/exports/foo bar",
> > require => File["/etc/exports"],
> > }
> >
> >
>
> Augeas will
Bryan,
Thanks so much for the pointer. I think I'm on the right track now but
could use a hand understanding why I'm getting this error when
attempting to write out to disk
augtool> print /files/etc/exports/
/files/etc/exports
/files/etc/exports/dir = "/foo"
/files/etc/exports/dir/client = "foo.
windowsrefund wrote:
> augeas { "$name":
> context => "/files",
> changes => "set /etc/exports/foo bar",
> require => File["/etc/exports"],
> }
>
>
Augeas will validate the structure of what you are setting. Look in
/usr/share/augeas/lenses/exp
augeas { "$name":
context => "/files",
changes => "set /etc/exports/foo bar",
require => File["/etc/exports"],
}
As you can see, I've got a very simple resource defined for testing
purposes but am seeing this error on the client. Can someone poin
Hey thats a really great idea! Are there any Puppet Users in Boston
that might be interested in a similar meet up?
-Tim
windowsrefund wrote:
> Larry,
>
> I'm in the area and would love to attend. I'll be watching this thread
> for details.
>
> Adam
>
> On Jan 15, 10:10 am, Larry Ludwig wrote:
Larry,
I'm in the area and would love to attend. I'll be watching this thread
for details.
Adam
On Jan 15, 10:10 am, Larry Ludwig wrote:
> Hi All,
>
> We are wanting to having a Puppet Meetup in NYC on February 3th, 2009,
> 6:30 PM. Place to be determined. Baring that my wife doesn't give
>
Hi All,
We are wanting to having a Puppet Meetup in NYC on February 3th, 2009,
6:30 PM. Place to be determined. Baring that my wife doesn't give
birth by then (which would prevent me from making it) how does this
sound to everyone else?
Brian G.,
Can you rally up the troops and also invite peo
Here's what I use which has been pulled from various answers in the forum.
Bascially there's a function for deleting a line, appending a line if not
already there and near the bottom one for editing a line. So the way this
works is that this file gets run as part of the base_class to set up the
de
23 matches
Mail list logo