Pienaar is a seasoned puppet master I am sure he can help?
http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php
On Wed, Aug 29, 2012 at 10:10 PM, Douglas Garstang
doug.garst...@gmail.comwrote:
So... how can I debug ruby code for custom functions? Putting a 'puts'
Hello,
I can't wrap my head around what is causing this error. After rebooting the
box I get this error. If I remove the $hostgroup parameter is errors at
$product_domain and down the line. What is going wrong here? I have facters
defined for nagios server.
I am testing this where nagios server
; skipping run
#grep short_alias /etc/puppet/modules/nagios/manifests/init.pp
#define host($ip = $::fqdn, $short_alias = $::fqdn, $product_domain =
$::product_domain) {
#
On Wed, Aug 1, 2012 at 8:56 AM, david.gar...@gmail.com
david.gar...@gmail.com wrote:
Hello,
I can't wrap my head around what
With in the class I used something like this to get the facts into my
nagios templates:
define host($ip = $::fqdn, $short_alias = $::fqdn, $hostgroup =
$::product_info, $product_domain = $::product_domain) {
case $product_info {
/OneProduct/: {
$nagios_cfgdir =
=~
/(uptime_seconds|timestamp|free)/ }.to_yaml %)
}
On Wed, Jun 20, 2012 at 4:30 PM, david.gar...@gmail.com
david.gar...@gmail.com wrote:
With in the class I used something like this to get the facts into my
nagios templates:
define host($ip = $::fqdn, $short_alias = $::fqdn, $hostgroup
Yeah,
Good question: Sorry for the interjection. I would like to create a none
puppet generated CA and intermediate CA for my puppet master. I tried but
failed. Does anyone have a procedure or has anyone done this?
Thanks,
Dave Garvey
On Thu, Jun 14, 2012 at 9:45 AM, Jeff McCune
If puppet is to be enterprise than I would think we should be able to use a
CA generated for the organization?
On Thu, Jun 14, 2012 at 12:03 PM, david.gar...@gmail.com
david.gar...@gmail.com wrote:
Yeah,
Good question: Sorry for the interjection. I would like to create a none
puppet
You would have to sync serial number too?
On Thu, Jun 14, 2012 at 12:10 PM, david.gar...@gmail.com
david.gar...@gmail.com wrote:
If puppet is to be enterprise than I would think we should be able to use
a CA generated for the organization?
On Thu, Jun 14, 2012 at 12:03 PM, david.gar
Well everything would have to be synced...
On Thu, Jun 14, 2012 at 5:03 PM, david.gar...@gmail.com
david.gar...@gmail.com wrote:
You would have to sync serial number too?
On Thu, Jun 14, 2012 at 12:10 PM, david.gar...@gmail.com
david.gar...@gmail.com wrote:
If puppet is to be enterprise
Can I check if a port is open for DSL? I need to check if the box has an
acl allowing the nagios server to connect via nrpe before writing nagios
config. If the port is closed I would like to defer the checks to
mcollective.
--
David Garvey
--
You received this message because you are
Thanks Jeff and Krzysztof,
I think I will write a facter using netcat or something then and catch it
in the manifests.
nc -z domain_name port
Cheers,
DGarvey
On Tue, Mar 27, 2012 at 2:36 PM, Jeff McCune j...@puppetlabs.com wrote:
On Tue, Mar 27, 2012 at 2:24 PM, Krzysztof Wilczynski
I can't seem to find the erb logic for this?
This works:
% if scope.lookupvar(::product_info) =~ /string/ %
hostgroups sting ; hostgroups.cfg
% end %
While this doesn't:
% if scope.lookupvar(::fqdn) !=~ /string/ %
define service{
use
AM, Denmat tu2bg...@gmail.com wrote:
Hi,
that would be '!=' and not '!=~' wouldn't it?
Den
On 10/11/2011, at 9:02, david.gar...@gmail.com david.gar...@gmail.com
wrote:
I can't seem to find the erb logic for this?
This works:
% if scope.lookupvar(::product_info) =~ /string
13 matches
Mail list logo