[Puppet Users] Re: puppet mount and ascii code

2014-05-01 Thread Choon Ming Goh
Please ignore this. Figured out my issue! Silly mistake! -- 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...@googlegroups.com. To view this

[Puppet Users] Re: Creating scope object in Puppet v3.x

2014-05-01 Thread KomodoDave
Thanks for the response, Henrik. I’ve tried what you suggested already: node=Puppet::Node.new('localhost') compiler=Puppet::Parser::Compiler.new(node) scope=Puppet::Parser::Scope.new(compiler) ..but the result is: /usr/lib/ruby/vendor_ruby/puppet/context.rb:43:in `lookup': no 'environments'

[Puppet Users] Optional parameters in Nagios_host

2014-05-01 Thread Jonathan Gazeley
I'm struggling a little bit with this one. Some of my puppet nodes have lights-out management. For those that do, I want to put the IP address of their iLOM card in Hiera and have that appear as the notes_url in nagios_host{}. This works well for hosts that *do* have iLOM, but for those with

[Puppet Users] My custom fact is overriding another fact's value

2014-05-01 Thread Matthew Burgess
Hi all, This, to me, is really bizarre. Here's my code: Facter.add("hostname_app") do setcode do hostname_app = Facter.value(:hostname) hostname_app[5] = 'a' hostname_app end end Basically, our servers have 2 network cards, and we need to set up DNS for both of i

[Puppet Users] Re: Optional parameters in Nagios_host

2014-05-01 Thread jcbollinger
On Thursday, May 1, 2014 5:06:37 AM UTC-5, Jonathan Gazeley wrote: > > I'm struggling a little bit with this one. > > Some of my puppet nodes have lights-out management. For those that do, I > want to put the IP address of their iLOM card in Hiera and have that > appear as the notes_url in nag

[Puppet Users] Revert configuration file to old state if content changes

2014-05-01 Thread contactpunitjain
Hi, I am using puppet enterprise 3.x . I have a manifest used to install and manage custom application on my client node. Part of manifest is :- file { 'app_config': ensure => directory, mode=> 0644, path=> '/etc/cmas/app_config',

Re: [Puppet Users] Revert configuration file to old state if content changes

2014-05-01 Thread Peter Bukowinski
On May 1, 2014, at 9:29 AM, contactpunitj...@gmail.com wrote: > Hi, > > I am using puppet enterprise 3.x . I have a manifest used to install and > manage custom application on my client node. > Part of manifest is :- > >file { 'app_config': > ensure => directory, >

[Puppet Users] Re: "path" fact reordering

2014-05-01 Thread jcbollinger
On Wednesday, April 30, 2014 4:17:36 AM UTC-5, Fabio Coatti wrote: > > Hi all, > I spotted a behaviour that I can't really understand (pupept 3.4.3). > > Basicaly I have a setup with two masters balanced via apache reverse > proxy. On clients every time the agent is run a facts.yaml is updated,

Re: [Puppet Users] Enable puppet agent by default

2014-05-01 Thread Christopher Wood
(inline) On Wed, Apr 30, 2014 at 08:21:15AM -0700, jcbollinger wrote: >On Tuesday, April 29, 2014 10:15:35 AM UTC-5, Christopher Wood wrote: > > Can't hosts already stagger their agent checkin times by using per-host > runinterval settings? > >No.  Different agents with differe

[Puppet Users] Puppet Client Reports file not found on Server

2014-05-01 Thread Rance Hall
Ive had a series of issues with a specfic node. Node is running puppet 3.0.2. During a puppet run the client reports: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: No such file or directory - /var/lib/puppet/yaml/node/{nodename}.yam

[Puppet Users] Re: My custom fact is overriding another fact's value

2014-05-01 Thread phoned
On Thursday, May 1, 2014 6:07:29 AM UTC-6, Matthew Burgess wrote: > > Hi all, > > This, to me, is really bizarre. Here's my code: > > Facter.add("hostname_app") do > setcode do > hostname_app = Facter.value(:hostname) > hostname_app[5] = 'a' > hostname_app > end >

Re: [Puppet Users] Re: My custom fact is overriding another fact's value

2014-05-01 Thread Matthew Burgess
Hi there, Yes, that was exactly what was going on, as pointed out to me by a colleague about 5 minutes after I publically humiliated myself :-) I just did a "String.new(Facter.value(:hostname))" instead. I'm not sure it's a bug; probably just Ruby doing a shallow copy. Thanks! Matt On 1 May

[Puppet Users] Re: Use the virtual resources and hiera to create the environent specific group os users

2014-05-01 Thread Sans
Thanks guys for the heads up! I didn't get time to try any of those, which I'll do tonight and report back. -- 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 pupp

[Puppet Users] Announce: Puppet Enterprise 3.2.3 is available

2014-05-01 Thread Geoff Nichols
Dear Puppet Enterprise Users, Puppet Enterprise 3.2.3 is now available. This is a security release of Puppet Enterprise. All users of Puppet Enterprise 3.x are encouraged to upgrade when possible to Puppet Enterprise 3.2.3. Puppet Enterprise 3.2.3 includes fixes to address java vulnerabilities a

[Puppet Users] Managing multiple customers with a single environment

2014-05-01 Thread Ger Apeldoorn
Howdy, I've done a blog item about managing multiple customers with a single Puppet environment. Perhaps it's useful for someone. :) http://puppetspecialist.nl/2014/04/mpi-managing-multiple-customers-within-a-single-environment/ Feedback is welcome! Kind regards, Ger Apeldoorn Freelance Puppe

Re: [Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2014-05-01 Thread Joaquin Menchaca
I think to illustrate is better to make it more clear, let me get back to you on this, once I look it over. On Wednesday, April 30, 2014 9:21:48 AM UTC-7, Rob Reynolds wrote: > > > > On Tue, Apr 29, 2014 at 5:45 PM, Joaquin Menchaca > > > wrote: > >> What is most important to me is to have the

[Puppet Users] Eugene Oregon Puppet User Group?

2014-05-01 Thread Jon Sawyer
I am interested in starting one if one does not yet exist. I'd like to talk about and collaborate on usage of puppet. Anyone can hit me up if there is such a group here in town, I know there is one in Portland but I won't be going any time soon. -- You received this message because you are sub