[Puppet Users] hasstatus not working as expected

2011-08-12 Thread Chad
All, I have puppet watching various services on RHEL systems and restarting them as necessary. Quite a while back I wrote some custom scripts as wrappers for various services so that I can have a "custom" running status. These have worked for quite a few months, but recently my iptables services

[Puppet Users] Re: hasstatus not working as expected

2011-08-12 Thread Chad
s]/returns: is notrun, should be 0 (noop) notice: Finished catalog run in 2.85 seconds "is notrun"? I am not sure what that means... On Aug 12, 10:23 am, vagn scott wrote: > On 08/12/2011 09:32 AM, Chad wrote: > > > Any ideas? > > For starters, see what

[Puppet Users] Re: hasstatus not working as expected

2011-08-12 Thread Chad
12, 1:39 pm, Stefan Schulte wrote: > On Fri, Aug 12, 2011 at 06:32:57AM -0700, Chad wrote: > > All, > > > I have puppet watching various services on RHEL systems and restarting > > them as necessary. > > > Quite a while back I wrote some custom scripts as wrappers f

[Puppet Users] Re: hasstatus not working as expected

2011-08-12 Thread Chad
at doesn't line up with what I see. The command is pretty straightforward so it shouldn't be hitting any environment variables with /sbin/iptables and /bin/egrep... But it's very possible I am missing something here... On Aug 12, 4:26 pm, Chad wrote: > > So puppet actually

[Puppet Users] Re: hasstatus not working as expected

2011-08-12 Thread Chad
works fine. But I can't figure out what would have changed that still allows me to run it fine but puppet fails. On Aug 12, 5:10 pm, Tim Mooney wrote: > In regard to: [Puppet Users] Re: hasstatus not working as expected, Chad...: > > > status) > >      /sbin/iptables -L | /

[Puppet Users] Node classifier not loading any defined classes

2011-04-05 Thread Chad
to puppet so please forgive me if I have some idiot mistake. If this is all set up correctly and properly running the classifier I'll bombard this post with the contents of my config files. Thanks in advance Chad -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Node classifier not loading any defined classes

2011-04-06 Thread Chad
Well I kind of figured it out (though not how I like). I had to move these lines node_terminus = exec external_nodes = /.foo/bin/puppet_node_classifier.sh out of my [development] area into my [main] in puppet.conf. Once I did that I was able to use the external classifier (though I only want

[Puppet Users] hiera puppet backend weirdness

2012-02-29 Thread Chad Huneycutt
an that the puppet backend cannot parse the master/data.pp file? I've stared at it until my eyes crossed, and I don't see anything wrong. I am going to simplify my classes and see what I come up with, but I am pretty baffled at this point. Thanks for any help, Chad -- You rec

[Puppet Users] Re: hiera puppet backend weirdness

2012-02-29 Thread Chad Huneycutt
I was able to track this down. Apparently $puppet_master_storedconfigs is either reserved or too long. When I changed it to $puppet_master_storedcfgs, the catalog compiled. Go figure. On Wed, Feb 29, 2012 at 7:09 PM, Chad Huneycutt wrote: > I'm really digging hiera, but I have a prob

[Puppet Users] puppet 2.7.11 + ruby 1.9.3 + passenger

2012-03-01 Thread Chad Huneycutt
uestion is, can this work, and if so, what versions should I use? -- Chad M. Huneycutt -- 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

Re: [Puppet Users] hiera installation problem

2012-03-22 Thread Chad Huneycutt
e the first item. Hope that helps, or maybe someone else will have something better, Chad On Thu, Mar 22, 2012 at 4:13 PM, Guy Matz wrote: > Hi!  I think I've gone through the hiera install process correctly, but > still getting: > err: Could not retrieve catalog from remote s

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-02 Thread Chad Huneycutt
swering easy questions tedious, you do not have to; someone else can most likely pick it up * Opening the floodgates to the easy questions makes it very obvious what needs to go in the FAQ :-) I have been helped out so much by the fine folks on IRC that I love it when I get a chance to help someone out w

Re: [Puppet Users] local vs global variables

2012-04-02 Thread Chad Huneycutt
I love hiera, but this is my biggest problem with it. There is no scoping of the hiera name space. I am personally using the naming convention "__, but it would be great if hiera took care of that for me magically. A little birdy told me that they are working on it, so here's hoping.

[Puppet Users] 0.25, REE, ruby-shadow

2010-05-19 Thread Chad Huneycutt
sn't really puppet's problem? -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-user

Re: [Puppet Users] Re: 0.25, REE, ruby-shadow

2010-05-19 Thread Chad Huneycutt
y-shadow-1.4.1/README.ja > [...@obelisk ruby]$ > > Sounds like either there is a library mismatch or it is not installed > perhaps? I don't have a ruby-enterprise install here at home - but if > you can't see anything obvious about your version of the library I can > check on a m

Re: [Puppet Users] Re: 0.25, REE, ruby-shadow

2010-05-19 Thread Chad Huneycutt
Thanks for sanity check, Ken. I just copied the library to REE, and it works fine. Kind of ugly, I guess. On Wed, May 19, 2010 at 8:04 PM, Chad Huneycutt wrote: > lol.  The 'shadow' gem is not the shadow password library!  it is "a > zero-configuration YAML RESTful Act

Re: [Puppet Users] Re: Problem with dashboard using live report aggregation

2010-06-21 Thread Chad Huneycutt
I was able to set config.time_zone in /config/environment.rb and that fixed the timezone. Is that not what you are talking about? - Chad On Mon, Jun 21, 2010 at 6:10 PM, Rein Henrichs wrote: > Hi folks, > Thanks for the dashboard questions. I'm glad people are using dashboard and

Re: [Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-29 Thread Chad Huneycutt
uppet" - Chad On Thu, Jul 29, 2010 at 1:57 PM, Tom wrote: > That's what I thought, but it doesn't work.  So there's nothing wrong > with what I'm doing?  Perhaps I should file a bug report... > > > Centos 5.5, Puppet 2.6: > > > # ls -ld /etc/puppe

Re: [Puppet Users] puppet.conf => client = false; Puppet 0.25.5

2010-08-03 Thread Chad Huneycutt
egroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pupp

Re: [Puppet Users] Re: puppet.conf => client = false; Puppet 0.25.5

2010-09-08 Thread Chad Huneycutt
The --no-client flag to puppetd didn't work for you? My understanding of the bug is just that the client=false option isn't respected, but if you specify it on the command line, it works fine. Right? - Chad On Tue, Sep 7, 2010 at 4:54 PM, CraftyTech wrote: > Has anyone found a w

[Puppet Users] 2.6 upgrade problem

2010-10-19 Thread Chad Huneycutt
ly fine on the master (2.6.2 client). Obviously, there isn't a lot to go on, so any hints would be greatly appreciated. -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group

Re: [Puppet Users] 2.6 upgrade problem

2010-10-19 Thread Chad Huneycutt
Maybe I'm dense, but that bug doesn't seem to be relevant. I just created #5048; I am not sure that the trace adds much, but hopefully someone can make something out of it. Thanks! - Chad On Tue, Oct 19, 2010 at 11:01 PM, James Turnbull wrote: > Chad Huneycutt wrote: >>

Re: [Puppet Users] puppetd + listen=true problem

2010-10-26 Thread Chad Huneycutt
rom server and > regenerate it with the current key > Exiting; failed to retrieve certificate and waitforcert is disabled > . > . > . > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post

Re: [Puppet Users] puppetd + listen=true problem

2010-10-26 Thread Chad Huneycutt
oops, sorry. Indeed. I typo that all the time, but fortunately we don't have anything important in /var/lib/ssl here :( On Tue, Oct 26, 2010 at 3:48 PM, Patrick wrote: > > On Oct 26, 2010, at 12:00 PM, Chad Huneycutt wrote: > > You need to delete the cert on the client.  rm

[Puppet Users] SF Puppet Masters Users Group

2011-05-11 Thread Chad Metcalf
llective Puppet experience there is to share. Cheers Chad -- 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

[Puppet Users] Re: Puppet Implementation

2009-07-06 Thread Chad Netzer
On Wed, Jul 1, 2009 at 10:47 AM, Tim Galyean wrote: > > Is there a way to "tell" puppet to do a sort of comparison on the > files, so that if one does not match the default config it is ignored > and or not replaced with the default. A portion of my autofs class: class autofs { package { au

[Puppet Users] Re: Augeas and grub.conf

2009-07-31 Thread Chad Huneycutt
is message is > not the intended recipient, the reader is hereby notified that any > dissemination, distribution or copying is strictly prohibited. > > * P * /*/ Please consider the environment before printing this e-mail /*/ > > > > > -- Chad M. Huneycutt --~--~-~-

[Puppet Users] Re: Augeas and grub.conf

2009-08-03 Thread Chad Huneycutt
Well, I just dropped the lenses in /usr/share/augeas/lenses, which I assume is on the load path higher than /usr/share/augeas/lenses/dist, where all of the other lenses are. But should I have to do that? Maybe we can pick up the discussion on the augeas list. - Chad On Mon, Aug 3, 2009 at 8:57

[Puppet Users] workarounds for bug #2141

2009-08-03 Thread Chad Huneycutt
pet (augtool doesn't error out, but the match doesn't occur properly, and the puppet type fails with a pretty useless error). Thanks for any help. I am trying to get away from sed/grep, but using augeas is like pulling teeth! -- Chad M. Huneycutt --~--~-~--~~~-

[Puppet Users] Re: workarounds for bug #2141

2009-08-04 Thread Chad Huneycutt
On Tue, Aug 4, 2009 at 7:12 PM, David Lutterkort wrote: > > On Mon, 2009-08-03 at 16:03 -0400, Chad Huneycutt wrote: >> augeas { "/etc/exports-$vmname": >>                 context => "/files/etc/exports", >>                 changes => [ >

[Puppet Users] Re: variable variable naming

2009-08-11 Thread Chad Huneycutt
Try: $listenip = "${ipaddress}_${service_listenif}" - Chad On Tue, Aug 11, 2009 at 6:14 AM, Jan Werner wrote: > > hi list, > > i'd guess the subject could cause some braindamage, i'm sorry for > that, i did not find a better description for my problem. &

[Puppet Users] Re: Mount point permissions

2009-09-17 Thread Chad Huneycutt
of the state of the system. > > Anyone else already solved this? > > Mark > > > -- Sent from my mobile device Chad M. Huneycutt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users&

[Puppet Users] Re: How long does the server's node cache stick around?

2009-09-28 Thread Chad Huneycutt
ng as two days and it just doesn't see the change. >>> >>> > If one day I decide I need to deploy a new required Gnome key to all >>> > of my Linux desktops, what's the poper method of making sure that the >>> > server realizes all the nodes need

Re: [Puppet Users] Re: Installing Packages from puppet files

2009-11-17 Thread Chad Huneycutt
-~~ > 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 > F

[Puppet Users] generating rrds from reports

2009-12-15 Thread Chad Huneycutt
I have a bunch of puppet report files, and I would like to regenerate the rrd files for those reports. Can anyone tell me what the process is to do that? -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To po

Re: [Puppet Users] variable scoping?

2012-08-14 Thread Chad Huneycutt
ass foo ( $bar = hiera('bar') ) { ... } And then $bar can be defined in a module-local class (if using puppet hiera backend), module-local yaml file, site-specific yaml file, overridden when included, etc, all according to a policy that you define. -- Chad M. Huneycutt -- You receive

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Chad Huneycutt
works, but is a bit fragile - and will fail > if I ever want to scale to multiple puppet masters. It looks like this: > https://gist.github.com/3531206 Here is the script we use to do the same. I am not proud of all the locking stuff. Not sure if it is necessary or not, but it works. Ju

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-31 Thread Chad Huneycutt
"/etc/ssh/ssh_host_rsa_key.pub": content => $rsahostkeypub, mode => 0444, owner => root, group => root, } file { "/etc/ssh/ssh_host_dsa_key": content => $dsahostkey, mode => 0400, owner => root, group => root, } file { "/etc/ssh

Re: [Puppet Users] Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-03 Thread Chad Huneycutt
since I deployed it. For a while I was "exclude"ing puppet and friends in yum.conf, but that was a real pain. The versionlock plugin "pins" a package at the version you want, and then you can update when ready. - Chad On Wed, Oct 3, 2012 at 9:16 AM, jcbollinger wrote: > &g

Re: [Puppet Users] How to prevent puppet clients from updating to version 3?

2012-10-03 Thread Chad Huneycutt
For yum-based updates, take a look at the yum versionlock plugin. Works great here, although you have to specify the entire package name that you want (I don't think just specifying puppet-2.7 will work). debian-based distros support pinning, but haven't gotten that going yet. - Ch

[Puppet Users] augeas syntax for adding similar lines to hosts.allow

2012-11-06 Thread Chad Lewis
I've found a similar thread here, but it doesn't do quite what I need. https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/VMloh1KrSew I have multiple lines of the form below in hosts.allow: sshd,sshd2: 1.1.1.1 sshd,sshd2: 2.2.2.2 etc. I'm struggling with the syntax to add yet anoth

Re: [Puppet Users] Managing ssh server's keys?

2012-11-26 Thread Chad Huneycutt
> '0444', owner => 'root', group => 'root', } Hope that helps, Chad On Mon, Nov 26, 2012 at 2:47 PM, Jakov Sosic wrote: > Hi. > > I'm wondering is there a way to manage ssh servers, in a way that every > machine has it's own ke

Re: [Puppet Users] puppet.conf questiosn

2012-11-27 Thread Chad Huneycutt
nvironment configured, I guess it would be harmless to > rename it to production right? The [master] section of the config file does not specify an environment. That is options that apply to the master only. You can also use [agent] (and probably [cert], [apply], etc.). -- Chad M. Huneycut

[Puppet Users] Re: Multiple Service[named] resources not conflicting ??

2008-09-22 Thread Chad Huneycutt
Are you actually including both "named" and "hpc::named" on a single host? If not, then there will not be a conflict. - Chad On Wed, Sep 17, 2008 at 12:41 PM, Evan Hisey <[EMAIL PROTECTED]> wrote: > > As understand puppet I should not be able to have two serv

[Puppet Users] Re: No such file or directory - /var/lib/puppet/yaml/*

2008-10-21 Thread Chad Huneycutt
Maybe /var/lib/puppet is owned by root? If so, chown to puppet and try again. - Chad On Tue, Oct 21, 2008 at 5:31 AM, Sebastian Vieira <[EMAIL PROTECTED]> wrote: > Hi, > > I reinstalled puppet-server and am now getting these error messages from > clients: > > err: /Fi

[Puppet Users] merging reports

2009-04-21 Thread Chad Huneycutt
s the easiest way to do that? -- Chad M. Huneycutt --~--~-~--~~~---~--~~ 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 t

[Puppet Users] Re: set password of root

2009-05-06 Thread Chad Huneycutt
x27;01'", > } > } > > # vi /etc/puppet/manifests/templates.pp > import user > node basenode { > $rootpw = "Vale.com-init" > include user > } > > > > > > -- Sent from my mobile device Chad M. Huneycutt --~--~---

[Puppet Users] Re: set password of root

2009-05-06 Thread Chad Huneycutt
x27;01'", > } > } > > # vi /etc/puppet/manifests/templates.pp > import user > node basenode { > $rootpw = "Vale.com-init" > include user > } > > > > > > -- Sent from my mobile device Chad M. Huneycutt --~--~---

[Puppet Users] Re: set password of root

2009-05-06 Thread Chad Huneycutt
anifest writer could just pull down the file and chown it to themselves...). - Chad On Wed, May 6, 2009 at 5:47 PM, Ryan Dooley wrote: > > We sort of do this we set a global $password in our site.pp. That > $password is an MD5 string. My environment is currently all Linux. > &g

[Puppet Users] Re: set password of root

2009-05-06 Thread Chad Huneycutt
2009/5/6 Ryan Dooley : > > Chad Huneycutt wrote: >> I am not sure everyone is on the same page: >> >> 1. you don't want to have the root password (encrypted or not) showing >> up in the process listing of your clients. > > Well, this is a policy/philo

[Puppet Users] Re: exec onlyif not cooperating on RHEL4

2009-05-26 Thread Chad Huneycutt
; [[ $? > -eq 0 ]] && exit 1' > debug: Executing 'm4 /etc/mail/sendmail.mc | diff > --ignore-matching-lines="^# built" - /etc/mail/sendmail.cf; [[ $? > -eq 0 ]] && exit 1' > /usr/lib/site_ruby/1.8/puppet/util.rb:286: warning: fork

[Puppet Users] permissions on mounts/mount points

2009-05-27 Thread Chad Huneycutt
efreshonly parameters to ensure that the permissions are set properly initially, but then how to ensure that the permissions stay correct? -- Chad M. Huneycutt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Apply created class on node

2012-12-03 Thread Chad Huneycutt
nitions in that file, or import other files. * All module manifest code should be in the module's manifests directory: '//manifests'. The 'run' subdirectory you have in your users module cannot be reached unless you 'import' it manually, which is not a recommended

Re: [Puppet Users] Re: hiera default values for a variable

2012-12-05 Thread Chad Huneycutt
anything that isn't called common.yaml > > So my guess is it's not the variables it's something else. > > Anyone got any ideas? > Or some docs I can dredge through? hiera generates great traces if you enable it. I *think* you enable debug on the master to turn it

Re: [Puppet Users] early clean exit from module?

2012-12-17 Thread Chad Huneycutt
how about this pattern: class somemodule { if $load_module = true { include somemodule::load } } class somemodule::load { // potentially very long module } - Chad On Mon, Dec 17, 2012 at 3:02 PM, Philip Brown wrote: > Hi folks, > I've poked around the language

Re: [Puppet Users] Puppet 3.02

2013-01-30 Thread Chad Huneycutt
message say 'var/log/...' and not '/var/log/...' (notice the first /). If that is really what it says, you may need to modify your logdir setting. - Chad On Wed, Jan 30, 2013 at 1:25 PM, Raymond Regnier wrote: > Just setup puppet 3.2 with one master and one client > >

Re: [Puppet Users] Puppet 3.02

2013-01-30 Thread Chad Huneycutt
Disregard. I see the other thread. On Wed, Jan 30, 2013 at 9:19 PM, Chad Huneycutt wrote: > Make sure that whatever user the master runs as (probably user > 'puppet') has write permissions to /var/log/puppet/. > > Note that even if you start the master as root, it will swi

Re: [Puppet Users] Re: Multiple hierarchies with Hiera

2013-01-31 Thread Chad Huneycutt
puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Chad M. Huneycut

Re: [Puppet Users] Re: Any way to "force" set the type provider? Problem with firewall module and iptables

2013-01-31 Thread Chad Huneycutt
Install iptables before running puppet? There is some amount of setup you will have to do before puppet will run the first time. For instance, you have to install puppet and the iptables module! - Chad On Thu, Jan 31, 2013 at 2:12 PM, Ellison Marks wrote: > Is it fine after the first

Re: [Puppet Users] Change the location of puppet.conf

2013-01-31 Thread Chad Huneycutt
--config Depending on your OS, you can set this as the default option for the service in /etc/sysconfig/puppet or /etc/default/puppet. - Chad On Thu, Jan 31, 2013 at 8:31 PM, Jason Knudsen wrote: > Hey guys, > > Does anyone know how to change the location of puppet.conf? In my situa

Re: [Puppet Users] Re: Multiple hierarchies with Hiera

2013-02-06 Thread Chad Huneycutt
oglegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Chad M. Huneycutt -- You received this message be

[Puppet Users] roles, profiles, and hiera

2013-02-13 Thread Chad Huneycutt
ments/%{environment}/data Am I just completely off-base? -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@g

Re: [Puppet Users] Re: roles, profiles, and hiera

2013-02-14 Thread Chad Huneycutt
bruary 13, 2013 5:17:40 PM UTC-6, Chad Huneycutt wrote: >> >> I would like to have a hiera.yaml like so: >> >> --- >> :backends: >> - yaml >> :hierarchy: >> - nodes/%{::hostname} >> - profiles/%{class_name} >> - common >> :yaml

Re: [Puppet Users] roles, profiles, and hiera

2013-02-14 Thread Chad Huneycutt
Unfortunately not. I am already using %{module_name}, and it works fine. But for what I am suggesting to work, I need to know the exact class where the hiera call is. - Chad On Wed, Feb 13, 2013 at 7:49 PM, Brian Lalor wrote: > Will this help? > http://docs.puppetlabs.com/puppet/3/ref

Re: [Puppet Users] Re: roles, profiles, and hiera

2013-02-14 Thread Chad Huneycutt
; variable before it interprets the hierarchy. I am going to try to hack the same thing into the yaml backend, as well as file a bug (or +1 one) about it. - Chad On Thu, Feb 14, 2013 at 2:19 PM, jcbollinger wrote: > > > On Thursday, February 14, 2013 12:08:17 PM UTC-6, Chad Huneycutt wrote:

Re: [Puppet Users] how to customize hiera lookups per node?

2013-03-08 Thread Chad Huneycutt
directly in the dsl and could expose that to hiera. - Chad On Thu, Mar 7, 2013 at 3:11 PM, James Ralston wrote: > We have a small and growing Puppet infrastructure we started a few months > ago: about 30 modules and 40 hosts. > > At this point, all of the modules we have written use p

Re: [Puppet Users] Assigning a dynamic role to be used by hiera

2013-08-21 Thread Chad Huneycutt
clude hiera('classes') } - Chad On Wed, Aug 21, 2013 at 1:20 PM, JeremyCampbell wrote: > > I need to define data for roles so I add the 'role' dynamic data source. > > - "%{::environment}/%{::clientcert}" > - "%{::clientcert}" > - "%

Re: [Puppet Users] Roles/profiles and hiera

2013-09-03 Thread Chad Huneycutt
1.2.3.4 That way you have a single profile for all datacenters. - Chad On Tue, Sep 3, 2013 at 11:49 AM, Frederiko Costa wrote: > Excellent.. thanks! > > And now sorry for the long email... hopefully I'm clear enough. > > I'd also to expose one example that I have here

Re: [Puppet Users] Distributing files from varied sources to a common location on the clients

2013-09-13 Thread Chad Huneycutt
think the correct way to do this is to roll packages (rpm, deb, pkg, etc.) and distribute those with puppet, but that might be a lot of work in your environment. - Chad On Fri, Sep 13, 2013 at 3:35 PM, root wrote: > Very new to Puppet. Tried various ways to do this and I'm not particularly &

Re: [Puppet Users] Retrieving Hiera arrays from init.pp

2013-09-19 Thread Chad Huneycutt
from your data files. 2. Are you sure that hiera is not working? What have you tried, and what happened when you tried it? Have you looked at http://docs.puppetlabs.com/hiera/1/index.html ? There are examples there. - Chad On Thu, Sep 19, 2013 at 11:53 AM, Jeremiah Jester wrote: > I'

Re: [Puppet Users] Re: excessive hiera logging

2013-09-27 Thread Chad Huneycutt
have it log directly to a file to see it. Maybe if you use syslog it will help? - Chad On Fri, Sep 27, 2013 at 11:16 AM, jamese wrote: > Hi all, > > I'm seeing exactly the same issue. Is there some config setting that can > prevent this? I'd rather not just redirect all

Re: [Puppet Users] Is there a way to return/skip module code based on a validation

2013-10-10 Thread Chad Huneycutt
nclude mymodule::disabled } } - Chad On Thu, Oct 10, 2013 at 2:13 PM, Jay wrote: > Thanks Ryan! > > I'm looking for something like a "break" statement, which should not proceed > execution of following resources. > > Anyway thanks for the information about futur

Re: [Puppet Users] Re: Role-based puppet

2013-10-29 Thread Chad Huneycutt
In that example, 'role' is a module, and 'role::somerole' is a class in that module: /etc/puppet/modules/role/manifests/somerole.pp: class role::somerole { ... } - Chad On Sat, Oct 26, 2013 at 7:58 AM, Steven Jonthen wrote: > I've a question: > What does

Re: [Puppet Users] Re: Puppet 3.3.1 [standalone mode]: could not find class

2013-11-07 Thread Chad Huneycutt
uppet as such puppet apply --modulepath . site.pp puppet should find your test module and load the classes automatically. Hope that help, Chad On Thu, Nov 7, 2013 at 10:15 AM, ulrich igor ngouagna kouete wrote: > Nobody to help?? :( > > Le jeudi 7 novembre 2013 11:42:06 UTC+1, ulrich

Re: [Puppet Users] One big manifest?

2013-12-21 Thread Chad Huneycutt
If you follow their links, you'll get a much better understanding. A full example: https://ask.puppetlabs.com/question/1655/an-end-to-end-roleprofile-example-using-hiera/ Some thoughts on module design: http://www.devco.net/archives/2012/12/13/simple-puppet-module-structure-redux.php - Chad

[Puppet Users] Re: Dashboard not working (406 Not Acceptable)

2014-03-11 Thread Chad Matsalla
I have this directory and it's writable. I'm still getting a 406. Was there anything else I could try? I'm not even sure the relevant parts of configuration to show. Let's see: - I got the same error whether I was using the rails built-in server and now when I'm using apache/passenger - reports

Re: [Puppet Users] Running a daemon only during certain hours of the day

2015-04-09 Thread Chad Huneycutt
the resource another name. - Chad On Thu, Apr 9, 2015 at 1:26 AM, Gabriel Filion wrote: > Hello, > > A client of mine needs to be able to control which hours during the day > a certain daemon is running and which hours it is not. > > So far I can think of hiera for controlling the

[Puppet Users] MCollective Plugins - Can I Install with Puppet Collections?

2015-08-31 Thread Chad Thompson
is there something else I'm missing? Thanks! Chad --- chad.o.thomp...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet

[Puppet Users] Re: MCollective Plugins - Can I Install with Puppet Collections?

2015-09-07 Thread Chad Thompson
Thank you! I opened a ticket earlier as well after posting this (https://tickets.puppetlabs.com/browse/MCO-722) - I didn't see the two that you posted. (In the meantime, I'll be trying to work around by installing from source into the 'libdir' if I can.) On Friday, September 4, 2015 at 8:15:1

Re: [Puppet Users] invoke modules from puppetforge from hiera yamls?

2015-09-16 Thread Chad Huneycutt
Take a look at this page: http://docs.puppetlabs.com/hiera/3.0/puppet.html . The section entitled "Automatic Parameter Lookup" explains how to specify puppet class parameters in hiera. - Chad On Tue, Sep 15, 2015 at 7:23 PM, Chris Jefferies wrote: > > > At my office we us

Re: [Puppet Users] Re: How to access a variable from parent define[d type]?

2015-10-29 Thread Chad Huneycutt
Can you see the name of the defined type in the template? How about just deriving $developer from that? - Chad On Thu, Oct 29, 2015 at 9:24 AM, jcbollinger wrote: > > > On Thursday, October 29, 2015 at 1:05:16 AM UTC-5, Jakov Sosic wrote: >> >> Hi guys. >> >> I

Re: [Puppet Users] unable to create home directory

2016-03-31 Thread Chad Huneycutt
rs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com > > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/3BE51F3A-023A-46F8-AF09-881F68CA5E92%

Re: [Puppet Users] Could not find default node or by name with 'vm7012.muc.baag, if not defined in manifests/node.pp

2016-03-31 Thread Chad Huneycutt
received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit >