[Puppet Users] Re: Fedora 16 leaving yum.puppetlabs.com

2013-05-06 Thread Matthaus Owens
As previously announced, Fedora 16 has now been removed from our yum repository as it has reached end of life. On Mon, Apr 15, 2013 at 3:48 PM, Matthaus Owens wrote: > Fedora 16 reached end of life on 2013-02-12 [1], so we are no longer > building new packages for it and will remove it from our y

Re: [Puppet Users] Feedback on module pattern?

2013-05-06 Thread Wolf Noble
Hi Ken, I'm happy to give my $.02, FWIW. I've found immense benefit from the overall paradigm described in Craig Dunn's blog post here: http://www.craigdunn.org/2012/05/239/ That paradigm, combined with modules which have all of their variables placed as module::variable_name parameters which de

[Puppet Users] hiera not using non-root user custom fact

2013-05-06 Thread Corey Osman
Hi, Before I begin, my environment consists of a standard master/client config with the exception that all my clients run under a non-root user. I have to use non-root so I can't simply restart under root to fix the problem. Master -> 3.1.1 Client -> 2.7.17 using mostly the hiera() function

Re: [Puppet Users] Feedback on module pattern?

2013-05-06 Thread Dan White
This looks great. Some constructive criticism: I think “defaults" and “settings” are redundant. Use one. I kind of like the term “params”, but they all do the same thing. On May 6, 2013, at 1:25 PM, Ken Coar wrote: > I've been having to write (and modify) a lot of modules lately, and I've so >

[Puppet Users] Support for transactions

2013-05-06 Thread James Birchfield
>From all the reading I have done, I have come to the conclusion that 'transaction' support is not offered in Puppet, in any of the predefined language constructs (Specifically speaking of package). Our client has a request that if one package declaration fails, all other package declarations

[Puppet Users] Announce: PuppetDB 1.3.0 Available

2013-05-06 Thread Chris Price
PuppetDB 1.3.0 is now available for download! This is a backward compatible feature release of PuppetDB. = ## Downloads ## = Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.com/puppetlab

Re: [Puppet Users] What do YOU do to catch undefined variables

2013-05-06 Thread Peter Brown
On 3 May 2013 06:43, Larry Fast wrote: > I'm still a puppet newbie and these days I'm struggling with undefined > variables. At least once a week I hit an error message like this: >Error: Failed to apply catalog: '' is not qualified and no path was > specified. Please qualify the command

Re: [Puppet Users] Having trouble with facter - "invalid argument"

2013-05-06 Thread Stefan Schulte
On Mon, 6 May 2013 10:26:38 -0700 (PDT) Charlie Brune wrote: > I'm trying to install Puppet on a Fedora 17 box. > > The "puppet agent --test" command fails with this error message: > > Could not retrieve virtual: Invalid argument - > > /sys/firmware/dmi/entries/1-0/raw > > > > I get the same

[Puppet Users] Re: Puppet Windows - Mapped Network Drive and Service Account

2013-05-06 Thread Kevin D
I found a resolution! Modify the NTFS and Share permissions: - "myDomain\Domain Computers" = read/execute After the domain join, the computer's "local system" account has access to the mapped drive. -- You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] Re: Feedback on module pattern?

2013-05-06 Thread Gerardo Santana Gómez Garrido
Hi Ken, I'm not sure I fully understood the purpose of each class, and until then I'm not pointing out issues. But if my interpretation is correct then you may get something useful from this other pattern: # it's probaby your mod::defaults and mod::settings together class mod::params { $setti

[Puppet Users] facter's zpool_version errors using zfsonlinux

2013-05-06 Thread treydock
Has anyone run into an issue with zfsonlinux >= 0.6.1 failing to work with the Facter zpool_version fact? I get the following error "Could not retrieve zfs_version: undefined method `captures' for nil:NilClass" which a bug report [1] indicates was fixed. I'm curious if it's a real issue. I h

[Puppet Users] Having trouble with facter - "invalid argument"

2013-05-06 Thread Charlie Brune
I'm trying to install Puppet on a Fedora 17 box. The "puppet agent --test" command fails with this error message: Could not retrieve virtual: Invalid argument - > /sys/firmware/dmi/entries/1-0/raw > I get the same error message if I type the command "facter virtual". This box is a physical mac

[Puppet Users] Feedback on module pattern?

2013-05-06 Thread Ken Coar
I've been having to write (and modify) a lot of modules lately, and I've so far moved to the following pattern. I'd appreciate comments and feedback about my approach, particularly in light of the changes to name scoping (all my modules are currently deployed under 2.7). 1. mod::defaults (

[Puppet Users] Re: Version Controlling Puppet Configs with svn

2013-05-06 Thread P Cornellio
That's correct, my concern is permissions/ownership changes inside /etc/puppet on the master after doing commits/check-outs, especially when new manifests are added on clients, outside of the master, then committed to the repo and updated onto the master. Our master currently has mixed ownersh

[Puppet Users] Puppermaster certificate expired

2013-05-06 Thread Tomáš Brandýský
Hello, We've been running puppet for 5 years until the last week when the certificate on the puppet server is expired. We were looking for a procedure describing how to create a new server certificate without a need to reconfigure certificates on puppet clients (about 100 servers) but we couldn

Re: [Puppet Users] New to hiera

2013-05-06 Thread Larry Fast
> > I'm curious to your opinion on point # 3, are you talking about OS > packages or your organizations app version? If the latter, I was thinking > of using hiera, maybe with a backend other than yaml such as redis, to > store the version of the app, that way like you said it could be used in

Re: [Puppet Users] Retrieve scoped resource defaults from class method in custom type

2013-05-06 Thread jcbollinger
On Sunday, May 5, 2013 2:23:25 PM UTC-5, Ryan R. Uber wrote: > > Hi Stefan, > > My apologies that I did not get back sooner. What you are suggesting > yields the same results I was seeing before. Let me try to explain > better: > > I think Stefan understood the question. He advised you on t

Re: [Puppet Users] New to hiera

2013-05-06 Thread jcbollinger
On Sunday, May 5, 2013 8:43:52 PM UTC-5, Josh wrote: > > Thanks for the replies! > Although it's a bit tardy, I'd like to add a word or two here. First, I think it's a mischaracterization to say "heira is the recommended way to do things now." Certainly, hiera is the favored interface with

[Puppet Users] Re: Can anyone recommend a module with a resource managing a block of lines in a file?

2013-05-06 Thread Schofield
> > Indeed, templates and Concat, either individually or in combination, are > great tools for managing files, including where responsibility for > different pieces of the file is spread across multiple classes. > This is exactly my situation. I need multiple other modules to contribute mult

Re: [Puppet Users] Re: Practices: what _not_ to manage with Puppet?

2013-05-06 Thread Martin Langhoff
On Mon, May 6, 2013 at 8:49 AM, Bernardo Costa wrote: > Well, I'll tell you that for now some kind of configuration is difficult to > be done with puppet. At least I couldn't find a way to do it. Ex: > controlling a /etc/passwd file but partially with a libnss compat syntax. > This means entries o

Re: [Puppet Users] Re: Practices: what _not_ to manage with Puppet?

2013-05-06 Thread Martin Langhoff
On Sun, May 5, 2013 at 2:11 PM, Larry Fast wrote: > What about the larger processes involved in incremental updates? Eg. > sequencing your updates so that the service keeps running. I'm considering > using Jenkins to orchestrate sequencial activity. Coming from an ISConf background, I'd do it

Re: [Puppet Users] Can anyone recommend a module with a resource managing a block of lines in a file?

2013-05-06 Thread Ashley Penney
On Sat, May 4, 2013 at 7:25 PM, Schofield wrote: > I'm hoping a commonly used module that provides a resource for managing > multiple contiguous lines in a file already exists and someone can point me > to it. I want something like the file_line type in the puppet labs stdlib > module but have i

[Puppet Users] Re: Can anyone recommend a module with a resource managing a block of lines in a file?

2013-05-06 Thread jcbollinger
On Monday, May 6, 2013 2:55:33 AM UTC-5, Paul Tötterman wrote: > > Hi, > > On Sunday, May 5, 2013 2:25:02 AM UTC+3, Schofield wrote: >> >> I'm hoping a commonly used module that provides a resource for managing >> multiple contiguous lines in a file already exists and someone can point me >> to

[Puppet Users] Re: Practices: what _not_ to manage with Puppet?

2013-05-06 Thread Bernardo Costa
Well, I'll tell you that for now some kind of configuration is difficult to be done with puppet. At least I couldn't find a way to do it. Ex: controlling a /etc/passwd file but partially with a libnss compat syntax. This means entries of local users are no controlled but entries beginning with

[Puppet Users] Re: Version Controlling Puppet Configs with svn

2013-05-06 Thread Bernardo Costa
I suppose your concerns are about the check-outs of the svn repo on the puppet root direcctory, not about permissions and ownership inside the repo. Once you do svn co command as your user (not recommended), the new files will be created having being owned by you. It might fail if you user does

[Puppet Users] Re: Can anyone recommend a module with a resource managing a block of lines in a file?

2013-05-06 Thread Paul Tötterman
Hi, On Sunday, May 5, 2013 2:25:02 AM UTC+3, Schofield wrote: > > I'm hoping a commonly used module that provides a resource for managing > multiple contiguous lines in a file already exists and someone can point me > to it. I want something like the file_line type in the puppet labs stdlib >