Ok.
so template and class share the scope and tehre's no need to qualify its
vars.
Thanks for your replies and for the link.
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@googleg
Howdy,
Before I go about writing one myself, anyone out there written a
software inventory module/fact for gathering a list of all installed
rpms/debs on a system? Got a few ideas floating around in my head, but
wanted to see if/what other folks have done ..
--
I've seen things you people wouldn
DNS seems OK. It is looking like problem may be with EBS. I am
collecting more data and may write another post later.
On Sep 19, 7:00 pm, Romain Pelisse wrote:
> I had some issues on my first trial with Puppet on AWS because of DNS
> resolution. I used Amazon R53 and the all damn thing was very s
On Wed, Sep 21, 2011 at 9:45 AM, Glenn Bailey wrote:
> Howdy,
>
> Before I go about writing one myself, anyone out there written a
> software inventory module/fact for gathering a list of all installed
> rpms/debs on a system? Got a few ideas floating around in my head, but
> wanted to see if/what
Well, puppet does include a native facility for doing this... try running
and see if the output meets your needs:
"puppet resource package"
I guess the question before extending this to a module, is what exactly do
you want to do with the data?
-Brian
On Wed, Sep 21, 2011 at 12:45 PM, Glenn Bail
>> Before I go about writing one myself, anyone out there written a
>> software inventory module/fact for gathering a list of all installed
>> rpms/debs on a system? Got a few ideas floating around in my head, but
>> wanted to see if/what other folks have done ..
>
> you can already do this with:
>
its also pretty easy to programatically access the information, which could
make parsing it easier:
>require 'puppet'
>Puppet::Type.type(:package).instances
On Wed, Sep 21, 2011 at 10:53 AM, Glenn Bailey
wrote:
> >> Before I go about writing one myself, anyone out there written a
> >> software i
Looking at the gentoo response in the ticket, the decision to maintain the
interface truncation looks pretty final. Regardless of this, supporting
iproute2 should be a priority, since I've heard of minimal arch installs
that don't include net-tools at all and we can expect the trend towards
iproute
On Tue, 20 Sep 2011 23:19:36 -0700, James Turnbull wrote:
>
> Jesse Peterson wrote:
> > Hello,
> >
> > I'm new to both Ruby and Puppet. Puppet is fantastic - loving it so
> > far.
> >
> > I created a new type & provider (of parsed file type) for modifying
> > newsyslog.conf files and am hoping s
We are experiencing problems with downloads from github at the moment.
Trying to fix the issues.
Regards
- henrik
On 9/19/11 4:59 AM, Henrik Lindberg wrote:
The 2.0.0 release of Geppetto is available as download and updates from
within Geppetto for all users of 1.0.x.
Please see the FAQ at:
ht
How do I cause template failure in the erb ruby? I'd like the same kind of
failure as for a template syntax issue, where puppet keeps going. I know I can
use "exit" in a template, but I haven't yet tested if that will simply cause my
puppet agent to exit altogether.
Background:
I'm trying to t
On Sep 21, 10:53 am, Glenn Bailey wrote:
> >> Before I go about writing one myself, anyone out there written a
> >> software inventory module/fact for gathering a list of all installed
> >> rpms/debs on a system? Got a few ideas floating around in my head, but
> >> wanted to see if/what other fol
- Original Message -
> its also pretty easy to programatically access the information, which
> could make parsing it easier:
>
> >require 'puppet'
> >Puppet::Type.type(:package).instances
the puppetral mcollective agent does something similar in a generic fashion
so you can just query t
On Wed, Sep 21, 2011 at 12:00, Christopher Wood
wrote:
> How do I cause template failure in the erb ruby? I'd like the same kind of
> failure as for a template syntax issue, where puppet keeps going. I know I
> can use "exit" in a template, but I haven't yet tested if that will simply
> cause m
using the fail function should work:
content = inline_template('<%= fail("doh") %>')
On Wed, Sep 21, 2011 at 12:56 PM, Daniel Pittman wrote:
> On Wed, Sep 21, 2011 at 12:00, Christopher Wood
> wrote:
> > How do I cause template failure in the erb ruby? I'd like the same kind
> of failure as for
Thank you to you and Daniel, both your methods do what I want.
On Wed, Sep 21, 2011 at 12:58:38PM -0700, Dan Bode wrote:
>using the fail function should work:
>
>content = inline_template('<%= fail("doh") %>')
>
>On Wed, Sep 21, 2011 at 12:56 PM, Daniel Pittman
><[1]dan...@puppet
Hi all,
I have three parameterized classes, named mq, mq_gsk and apache.
The mq class always calls the mq_gsk class, but the apache class
should only call the mq_gsk class when the mq class is not used in a
hosts' node definition
Here is my configuration
class mq (
$gsk_version = undef ) {
All,
I have a situation where I need to get some fairly complex
configuration files onto systems, and I'm wondering if puppet can even
do this. Lets say that my external node script will go and source all
the data it needs from an external database, and dump out all
variables that the node will ne
On Wed, Sep 21, 2011 at 7:45 PM, Glenn Bailey
wrote:
> Howdy,
>
> Before I go about writing one myself, anyone out there written a
> software inventory module/fact for gathering a list of all installed
> rpms/debs on a system? Got a few ideas floating around in my head, but
> wanted to see if/what
Facter 1.6.1rc4 is a maintenance release containing a fix for issue
#9517, as detailed below.
This release is available for download at:
http://puppetlabs.com/downloads/facter/facter-1.6.1rc4.tar.gz
See the Verifying Puppet Download section at:
http://projects.puppetlabs.com/projects/puppet/wik
although in cloudpack.rb::install(...) user specified certname is
supprted (i.e. options[:certname] ||= Guid.new.to_s), the certname is
not passed to the method when supplied through command line.
any idea?
tx
--
You received this message because you are subscribed to the Google Groups
"Puppet
Does anyone else have any concern about populating custom facts that
list ALL packages installed on a system? My sense is that it has the
potential to create a lot of overhead for facter, and in turn puppet
itself. (A typical linux system will have hundreds of packages
installed). I also don't thin
We recently noticed the same issue. I have a feeling that is may be related
to the version of puppet that is running. What version are you running? We
have actually been actively working on a fix in the following pull request:
https://github.com/puppetlabs/puppetlabs-cloud-provisioner/pull/16
a f
Puppet can do this. I would propose the following solution, but there may be
other ways to do it.
1) Use a template. Templates have embedded ruby code and run on the clients.
2) Link to some library that allows you to query your database (You can use
one or more require statements in your ruby cod
Remember too that if you can do it once (say with a define) Puppet will do
it as many times as you like just by putting the data in an array.
On Sep 21, 2011 2:39 PM, "Brian Gupta" wrote:
> Puppet can do this. I would propose the following solution, but there may
be
> other ways to do it.
>
> 1) U
On Wed, Sep 21, 2011 at 9:45 AM, Glenn Bailey
wrote:
> Howdy,
>
> Before I go about writing one myself, anyone out there written a
> software inventory module/fact for gathering a list of all installed
> rpms/debs on a system? Got a few ideas floating around in my head, but
> wanted to see if/what
On Wed, Sep 21, 2011 at 2:29 PM, Brian Gupta wrote:
> Does anyone else have any concern about populating custom facts that
> list ALL packages installed on a system? My sense is that it has the
> potential to create a lot of overhead for facter, and in turn puppet
> itself. (A typical linux system
This is a maintenance release of Puppet Dashboard. This release
resolves issues #7405, #9101, #8878, and #8803. More details below.
This release is available for download at:
http://downloads.puppetlabs.com/dashboard/
We have included Debian and RPM packages as well as a tarball.
See the Verifyi
Thanks, but I'm not sure templates will quite cut it. There is no way
that I am aware of to iterate over all the variables obtained through
an external node script, and put chunks into separate files. This
falls outside the bounds of what embedded ruby can do.
As for using define(), well, I am try
On Wed, Sep 21, 2011 at 1:20 PM, Douglas Garstang
wrote:
> All,
>
> I have a situation where I need to get some fairly complex
> configuration files onto systems, and I'm wondering if puppet can even
> do this. Lets say that my external node script will go and source all
> the data it needs from a
One of the things we're doing to try and increase the community
involvement in developing, and guiding Puppet, Facter, and Puppet
Dashboard is adding committers that fall under the category of "people
that don't work for Puppet Labs".
Please welcome Stefan Schulte as our newest committer to Puppet
On Tue, Aug 23, 2011 at 06:21:48AM -0700, jcbollinger wrote:
>
>
> 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
>> Before I go about writing one myself, anyone out there written a
>> software inventory module/fact for gathering a list of all installed
>> rpms/debs on a system? Got a few ideas floating around in my head, but
>> wanted to see if/what other folks have done ..
>
> We've written some custom facts
If you don't want to sign your packages try adding this to your
apt.conf
APT::Get::AllowUnauthenticated "true";
On Sep 17, 11:33 am, "KarthiKeyan. Kesavan" wrote:
> Hi ,
>
> Yes, i am trying to install the packages from my local repo .
>
> Regards
>
> Chebrian
>
> On Sat, Sep 17, 2011 at 9:01 P
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> 1) Use a template. Templates have embedded ruby code and run on the clients.
template() is a function and as any other function it will run on the
server.
~pete
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG w
35 matches
Mail list logo