On Feb 15, 1:27 pm, David Bishop tean...@gmail.com wrote:
In a perfect world, we could have three possible verbosity levels:
1) Only show errors (failures to compile the catalog, fails, etc)
2) #1 + all changes (Anything notice, in a normal --test run), but
without the diffs that you would
Hi,
have you tried adding 'notify { Caller module=$caller_module_name: }'
to various classes/defines in the redarrow module?
Also (although this is somewhat dumb), have you tried
puppet:///modules/${caller_module_name}/redarrow.conf instead?
Curly braces shouldn't be necessary there, but
Hi,
here's what I'd do:
include devices
class service {
file {
/opt:
ensure = directory,
owner = root,
group = wheel,
mode = 755;
/opt/home:
ensure = directory,
owner = root,
group
I am running Puppet 2.6.4, and have run into a situation where I would like
to use conditional statements inside a template ERB file. I am trying to
deploy apache virtual host configuration files, and have found that certain
environments use SSL certificate files from one vendor and other
Hello,
This case interests me :)
On Tue, Feb 15, 2011 at 5:53 PM, Nigel Kersten ni...@puppetlabs.com wrote:
It looks to me like you don't have a User 'bind' on the target system,
and you haven't defined one in the above manifest.
Does the bind package create a bind user for you?
This
Hi *,
I would like to create a pool of ssh pubkeys. The major goal is to be
able to assign a single key to multiple users on a given node/system.
Okay, lets say we have the users: foo and bar. In my manifest I've
created the following test definition for resource jim:
For what it is worth, for an extremely well known interface like
/etc/resolv.conf I would subscribe to the file resource, but for most
cases I prefer to depend on the class. So, I think both answers are
right, and I didn't explain why I chose the apparently tighter binding
this time around.
Thanks for the help guys, I've now finished it and got a working
solution. For anyone replicating this you need to configure a passive
service check on each host called puppet-report which then will get
updated.
http://pastie.org/private/812ijdrd7gwmwgxfmc9rdq
require 'puppet'
require 'socket'
I've been going round in circles a little bit in the last few days
trying to figure out how to get a 64-bit CentOS-based puppetmaster
that can be managed/provisioned via puppet also - so I'd like ruby,
passenger, rails etc coming from RPMs and yum. As far as I can see,
the three choices are:
1)
size = self.logs.size
if size == 0 then
system /usr/lib/nagios/eventhandlers/submit_puppet_result
+ ip + puppet-report 0 \There has been no change\
else
system /usr/lib/nagios/eventhandlers/submit_puppet_result
+ ip + puppet-report 2 \There
Hi Howie,
On 02/16/2011 12:16 PM, Howard Jones wrote:
[...]
3) My own local repo (although I couldn't find working src.rpm/spec
files for ruby, and I'm by no means a ruby expert)
[...]
What does everyone else do? It seems weird that the tool intended to
manage everything else is so hard
On Wed, Feb 16, 2011 at 11:38 AM, Derek J. Balling dr...@megacity.org wrote:
size = self.logs.size
if size == 0 then
system /usr/lib/nagios/eventhandlers/submit_puppet_result
+ ip + puppet-report 0 \There has been no change\
else
system
I removed the facts directory and puppet now starts without
problems, but it doesn't create a facts-file or -directory
automatically.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
On Feb 16, 2:44 am, Felix Frank felix.fr...@alumni.tu-berlin.de
wrote:
here's what I'd do:
include devices
class service {
file {
/opt:
ensure = directory,
owner = root,
group = wheel,
mode = 755;
/opt/home:
In the docs it says one must add a line to the /etc/hosts file with
the name puppet and the IP of the puppet master. This isn't a
possibility for us as the IP is subject to change. Is it possible to
configure the puppet clients to look for a specific domain to find the
master? eg.
On Wed, Feb 16, 2011 at 6:37 AM, Phillip B Oldham
phillip.old...@gmail.com wrote:
In the docs it says one must add a line to the /etc/hosts file with
the name puppet and the IP of the puppet master. This isn't a
possibility for us as the IP is subject to change. Is it possible to
configure the
Shameless bump... :-)
--
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,
set enabled=0 in /etc/yum.repos.d/epel.repo and use --enablerepo=epel when
using yum to install puppet
On Wed, Feb 16, 2011 at 7:27 AM, Romain Pelisse bela...@gmail.com wrote:
Personnally, I just used the EPEL repository to install both puppet and
puppetmaster. I still need to figure out a way
Adding an appropriate requires = to Devices::device_node
instantiations, as suggested, should do the trick. Alternatively, the
requires = could be put on one of the resources inside the defined
type (in this case, the only candidate is the Exec). Personally, I
prefer the latter whenever it
Rather you can use in your epel.repo:
includepkgs=puppet puppetmaster foo bar etc.
and it will only utilize those packages from the greater assortment.
We (MNX Solutions) also run a repository for a lot of common packages you may
be looking for if you'd like a back-up
Hey all,
I was installing puppet on a freshly installed node and the catalog
fails to apply. It immediately bails out with:
err: Could not run Puppet configuration client: Could not find init
script for 'ssh'
This is annoying and odd. ssh service is run by a module in main stage,
there is a
Hi, I'm looking for a way to have puppet kick off an upgrade of my
companies software, but only when it's somehow 'told' to. In cfengine
you can provide classes from the command line (such as upgrade_code)
and then have parts of the policy only work if those classes are
defined. Is there anyway
On 2011/02/16, at 03:44, Felix Frank wrote:
Hi,
here's what I'd do:
Devices::Device_node {
dir = $homedir/${service_num}/dev/,
require = File[$homedir/${service_num}/dev/],
}
I tried that as well (noted in the original post). That's
On 2011/02/16, at 09:20, jcbollinger wrote:
In general, if Puppet attempts to apply resources in a sequence that
doesn't work, then it means that there are resource relationships that
are not implicit and have not been declared. That's exactly the case
in the OP's manifest: there is nothing
On 2011/02/16, at 10:56, Felix Frank wrote:
Adding an appropriate requires = to Devices::device_node
instantiations, as suggested, should do the trick. Alternatively, the
requires = could be put on one of the resources inside the defined
type (in this case, the only candidate is the Exec).
On 2011/02/16, at 12:53, Matthew Pounsett wrote:
Actually, yes they are documented to do that. From the documentation for
'require'[1]:
Hrm.. I meant to include the URL there:
http://docs.puppetlabs.com/references/stable/metaparameter.html
I'll also note that I'm not too surprised you
On Feb 16, 3:38 am, Derek J. Balling dr...@megacity.org wrote:
size = self.logs.size
if size == 0 then
system /usr/lib/nagios/eventhandlers/submit_puppet_result
+ ip + puppet-report 0 \There has been no change\
else
system
How about this:
Create a module called upgrade_my_software, then only include it
when you want to, then remove the include when you're done...
On Wed, Feb 16, 2011 at 11:18 AM, loki77 lok...@gmail.com wrote:
Hi, I'm looking for a way to have puppet kick off an upgrade of my
companies
On Feb 16, 2011, at 6:37 AM, Phillip B Oldham wrote:
In the docs it says one must add a line to the /etc/hosts file with
the name puppet and the IP of the puppet master. This isn't a
possibility for us as the IP is subject to change. Is it possible to
configure the puppet clients to look for
On Feb 16, 2011, at 2:49 PM, donavan wrote:
Off hand you may be interested in the metrics portion of the report.
Something like metrics[changes][:failed] would give you access to
any resources that failed to apply.
I don't recall how/if actual catalog failures are show in reports. A
syntax
The issue with that is that I have to change the policies on the
puppetmaster each time I want to upgrade, and then make sure to remove
the include after it runs on each host so that it doesn't attempt the
upgrade twice (which wouldn't cause issues, but it leaves the window
open for user error -
Actually it's working now. Sorry to report it's bitter-sweet solution, as I
don't seem to be able to identify the exact root of the problem. I had a
template that was updating the namespace.conf file, and it wasn't including
the server where I was running puppetrun from. I know sounds a bit
I'm somewhat new to Puppet. I'm trying to establish some Virtual
Resources so I can realize them based on a TAG.
The error I continue to get is:
Feb 16 18:02:38 test-fms puppet-agent[8590]: Could not retrieve
catalog from remote server: Error 400 on SERVER: Syntax error at
'201001'; expected
On Wed, Feb 16, 2011 at 08:18:42AM -0800, loki77 wrote:
Hi, I'm looking for a way to have puppet kick off an upgrade of my
companies software, but only when it's somehow 'told' to.
There's this from the docs about Debian's system upgrade path. Something
like that?
On Wed, Feb 16, 2011 at 12:52:49AM -0800, David Kramer wrote:
% if tagged(development) %
In ERB the syntax is different I believe. The tagged() is in manifest
syntax.
In ERB land, you have access to tags via:
% tags.each do |tag| -%
So perhaps something like
% if tags.include?( development )
Cool - that would work. Thanks!
On Feb 16, 2011, at 1:55 PM, Nan Liu wrote:
On Wed, Feb 16, 2011 at 8:18 AM, loki77 lok...@gmail.com wrote:
Hi, I'm looking for a way to have puppet kick off an upgrade of my
companies software, but only when it's somehow 'told' to. In cfengine
you can
Ahh, and this is perfect too. I could even include the current version in that
file, which could then be read by whatever is installing the latest version.
Thanks!
On Feb 16, 2011, at 3:16 PM, Ben Hughes wrote:
On Wed, Feb 16, 2011 at 08:18:42AM -0800, loki77 wrote:
Hi, I'm looking for a
I'm working on a module to handle creating and populating Python
virtualenvs. Without going into too much detail, basically these are
nicely-encapsulated environments into which python packages can be
installed and run. It's not uncommon to have several virtualenvs on a
system, potentially with
38 matches
Mail list logo