Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread John Warburton
You could just post process the samahain output to ignore files listed in $puppet/var/state/state.yaml John On 8 June 2011 16:14, Robin Lee Powell wrote: > Sure, but I don't see any way to tell samhain "these files right > here have changed; trust the new values". I only see "accept > everythi

Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread Robin Lee Powell
Sure, but I don't see any way to tell samhain "these files right here have changed; trust the new values". I only see "accept everything". -Robin On Wed, Jun 08, 2011 at 02:11:34AM -0400, vagn scott wrote: > |Does this help? > > dpkg -L PACKAGENAME > | > > > > On 06/08/2011 01:44 AM, Robin L

Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread vagn scott
|Does this help? dpkg -L PACKAGENAME | On 06/08/2011 01:44 AM, Robin Lee Powell wrote: (zombie thread rar!) Where this comes up for me is when I have packages set to "latest". There's not really any way, I don't think, to integrate samhain into this process (that is, to say "I just insta

Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread Robin Lee Powell
(zombie thread rar!) Where this comes up for me is when I have packages set to "latest". There's not really any way, I don't think, to integrate samhain into this process (that is, to say "I just installed this package with apt, so update those files"). which is pretty unfortunate, really; th

[Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread treydock
My [master] has : report = true reports = http, store, xmpp pluginsync = true The [agent] includes: report = true listen = true pluginsync = true The second agent I tested with also has the same configuration as the above [agent] Correct, the xmpp.yaml has all that informa

Re: [Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread James Turnbull
treydock wrote: > Ok I restarted puppetmaster daemon and then broke a module to create a > failed puppet run on the same host as the master...and here's /var/log/ > messages from that Can I confirm you have: [master] report = true reports = xmpp [agent] report = true In your puppet.conf on the

[Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread treydock
Ok I restarted puppetmaster daemon and then broke a module to create a failed puppet run on the same host as the master...and here's /var/log/ messages from that Jun 7 18:37:19 puppetmaster puppet-master[27426]: Reopening log files Jun 7 18:37:19 puppetmaster puppet-master[27426]: Starting Puppe

[Puppet Users] Re: Puppet Reports: Configuration is (Almost) Utterly Ignored

2011-06-07 Thread David Douthitt
Argh! I figured it out... Mail filter caught the messages and sent them off somewhere else. Thanks anyway! On Jun 7, 5:57 pm, David Douthitt wrote: > I'm using puppet and puppet master (running with Apache and Passenger) > and the only thing that is being done is that yaml reports are being > sa

[Puppet Users] Virtual resources and hashes

2011-06-07 Thread Aaron Grewell
Hmmm, either I'm doing something wrong or virtual resources are incompatible with hashes. When I do this: $users = [{ username => "bill", uid => "12345" }, { username => "ted", uid => "12346" }] define usertest ($alias = $name[username]) { user {$name[username]: ensure => pr

[Puppet Users] Puppet Reports: Configuration is (Almost) Utterly Ignored

2011-06-07 Thread David Douthitt
I'm using puppet and puppet master (running with Apache and Passenger) and the only thing that is being done is that yaml reports are being saved to /var/lib/puppet/reports/#{host}/ I'm getting no log reports, and no email reports. No messages of any kind. /var/log/puppet/masterhttp.log is empty -

[Puppet Users] Re: PC EU feedback: spaceship operator too magical, hard to read

2011-06-07 Thread Cody
On May 21, 8:52 am, Nan Liu wrote: > On Fri, May 20, 2011 at 8:20 PM, Randall Hansen > wrote: > >http://projects.puppetlabs.com/issues/7606 > > > The spaceship operator: > > >    User <| group == sysadmin or title == luke |> > > > Is relatively easy to type but, if you don’t know it, very hard

Re: [Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread James Turnbull
treydock wrote: > Excuse the dumb question, but what file is the default location or > what configuration variable defines that location? > > I've noticed the bulk of puppetmaster logs go either in /var/log/ > puppet/masterhttp.log (previous message) or /var/log/message (syslog > I'm assuming). O

[Puppet Users] Re: Issue with "change from absent to present failed...no such file or directory"

2011-06-07 Thread treydock
Ah that did the trick...now a new error. I tried simplifying the module from camptocamp, https://github.com/camptocamp/puppet-dhcp, but a lot of it's usage I don't understand, and as such my "simplification" just broke it. I've got it much farther now...near the end of puppet run I get this error

[Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread treydock
Excuse the dumb question, but what file is the default location or what configuration variable defines that location? I've noticed the bulk of puppetmaster logs go either in /var/log/ puppet/masterhttp.log (previous message) or /var/log/message (syslog I'm assuming). Or is there a different place

Re: [Puppet Users] ! $is_virtual

2011-06-07 Thread Jacob Helwig
On Tue, 07 Jun 2011 11:09:32 -0700, Douglas Garstang wrote: > > All, > > Running this on a bare metal server. Package doesn't get installed, > therefore condition is false. Why? > > if ! ($is_virtual) { > package { > 'vlock': > ensure => installed; >

[Puppet Users] ! $is_virtual

2011-06-07 Thread Douglas Garstang
All, Running this on a bare metal server. Package doesn't get installed, therefore condition is false. Why? if ! ($is_virtual) { package { 'vlock': ensure => installed; } } [pax] app01 ~:# facter | grep is_virtual is_virtual => false Oh... don

Re: [Puppet Users] logging output at err level, success as just a notice?

2011-06-07 Thread Jacob Helwig
On Tue, 07 Jun 2011 10:29:12 -0500, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > > Helwig: > > Unfortunately, the documentation is just plain wrong. loglevel is the > > only one that supports "any legal log level". logoutput really does > > only support true, false, and on_failure. > > >

Re: [Puppet Users] Changes on master applied only on second run on nodes

2011-06-07 Thread Jacob Helwig
On Tue, 07 Jun 2011 00:19:07 -0700, Maxim Ivanov wrote: > > Hi! > If I change manifest on master and then immediately run "puppet agent > --no-daemonize --report --pluginsync --onetime" then it still uses old > version of manifest. When I run it second time it sees changes and > applies them. > >

Re: [Puppet Users] Changes on master applied only on second run on nodes

2011-06-07 Thread Patrick
On Jun 7, 2011, at 12:19 AM, Maxim Ivanov wrote: > Hi! > If I change manifest on master and then immediately run "puppet agent > --no-daemonize --report --pluginsync --onetime" then it still uses old > version of manifest. When I run it second time it sees changes and > applies them. > > Why is

Re: [Puppet Users] Issue with "change from absent to present failed...no such file or directory"

2011-06-07 Thread Jamison Fryman
Trey, It looks like the module is attempting to create a file resource in /etc/subnets, versus your intended directory of $dhcp_config_dir/subnets. Puppet is creating an error because the directory /etc/subnets does not exist, and puppet will not automatically create the directory if it is not

[Puppet Users] NGINX Puppet Module: Looking for Feedback/Use Cases

2011-06-07 Thread Jamison Fryman
Hello everyone, I'm currently working on a module for NGINX that I'd love to get some input on. Code can be found here: http://github.com/puppetlabs/puppetlabs-nginx. This module is currently in development - it supports a few use cases: * Create a vhost * Create multiple location referen

Re: [Puppet Users] Re: How do you handle deleted nodes with exported resources in this situation?

2011-06-07 Thread Stefan Schulte
On Tue, Jun 07, 2011 at 07:10:22AM -0700, jcbollinger wrote: > > > On Jun 6, 6:40 pm, Larry Ludwig wrote: > > I have an issue where for a file type of an exported resource I must define > > as such: > > > >                 force    => false, > >                 replace  => false, > > > > Meaning

RE: [Puppet Users] logging output at err level, success as just a notice?

2011-06-07 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
Helwig: > Unfortunately, the documentation is just plain wrong. loglevel is the > only one that supports "any legal log level". logoutput really does > only support true, false, and on_failure. > > Is pwck exiting non-zero when there is output? That should be > sufficient to trigger the behavio

[Puppet Users] Re: [foreman-users] Foreman 0.3 released

2011-06-07 Thread Corey Osman
Horray! Sent from my iPhone On Jun 7, 2011, at 1:15 AM, Ohad Levy wrote: > I'm pleased to announce the release of Foreman 0.3 > > Download from: > > Source: http://theforeman.org/attachments/download/237/foreman-0.3.tar.bz2 > RPM: http://yum.theforeman.org/stable/RPMS/foreman-0.3-1.noarch.rpm

Re: [Puppet Users] Unable to use types from modules

2011-06-07 Thread Davíð Steinn Geirsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael, Thanks for your response. On 06/06/2011 09:32 PM, Michael Knox wrote: > David, > Are you using environments? This setup is not using environments yet (though it is planned). > > If so, you're probably hitting bug #4409 ( > https://proj

Re: [Puppet Users] Pushing changes to nodes

2011-06-07 Thread Edward
On 6/5/11 7:48 PM, Pavel Shevaev wrote: [snip] > #puppet push > > What do you think? You can try "puppet kick" from the puppet master so that the puppet agent will initiate a pull request. Each of the puppet agent would need to be listening though. -- You received this message because you are sub

Re: [Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread James Turnbull
treydock wrote: > This is the output from master.log during the failed puppet run. Sorry I meant the output from the master daemon puppetmasterd or puppet master. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 -- You received this message because you are subscribed to the Google G

[Puppet Users] Re: How do you handle deleted nodes with exported resources in this situation?

2011-06-07 Thread jcbollinger
On Jun 6, 6:40 pm, Larry Ludwig wrote: > I have an issue where for a file type of an exported resource I must define > as such: > >                 force    => false, >                 replace  => false, > > Meaning the file is created, but do not replace after it's added. I do this > because of

[Puppet Users] Issue with "change from absent to present failed...no such file or directory"

2011-06-07 Thread Trey Dockendorf
I'm working on a DHCP module, modeled after this https://github.com/camptocamp/puppet-dhcp . Mine is just a much simpler version as I don't manage multiple OSes in my environment. However I cannot get my subnet file to create, this is the error from debug I get "err: /Stage[main]/Fog_server/Dhcp

[Puppet Users] cucumber-puppet -- storeconfigs -- Feature #4724

2011-06-07 Thread denmat
Hi all, Firstly kudos on the Pro Puppet book James and Jeff. Exactly what I needed right now. I am trying to implement the cucumber-puppet tests and have the issue raised in the above feature concerning storeconfigs. The page mentions the following: "Maybe this helps: https://gist.github.com/714

[Puppet Users] Foreman 0.3 released

2011-06-07 Thread Ohad Levy
I'm pleased to announce the release of Foreman 0.3 Download from: Source: http://theforeman.org/attachments/download/237/foreman-0.3.tar.bz2 RPM: http://yum.theforeman.org/stable/RPMS/foreman-0.3-1.noarch.rpm It is recommended to upgrade your foreman smart proxy to the latest version as well. H

[Puppet Users] Re: New Puppet report processors...

2011-06-07 Thread treydock
This is the output from master.log during the failed puppet run. [2011-06-07 02:24:16] DEBUG accept: 10.1.0.1:39742 [2011-06-07 02:24:16] DEBUG Puppet::Network::HTTP::WEBrickREST is invoked. [2011-06-07 02:24:16] puppetmaster.domain - - [07/Jun/2011:02:24:16 CDT] "GET /production/file_metadatas/pl

[Puppet Users] Changes on master applied only on second run on nodes

2011-06-07 Thread Maxim Ivanov
Hi! If I change manifest on master and then immediately run "puppet agent --no-daemonize --report --pluginsync --onetime" then it still uses old version of manifest. When I run it second time it sees changes and applies them. Why is it like that? Is it intended to be so? -- You received this mes