[Puppet Users] Re: Run stages of virtual resources

2014-01-02 Thread james . eckersall
How about chaining the resources, ala http://docs.puppetlabs.com/puppet/2.7/reference/lang_relationships.html#chaining-arrows . Yumrepo <| |> -> Package<| |> This declared in site.pp should apply globally to all nodes and would avoid the use of run stages (if I understand it correctly). J On

Re: [Puppet Users] Provider must have features 'manages_symlinks' to set 'ensure' to 'link' shouldn't happen on Linux?

2014-01-02 Thread Steph Gosling
Hi, On Tuesday, December 31, 2013 1:33:25 PM UTC, jmslagle wrote: > > > > > Out of curiosity, do you have both a package and the gem installed? > I've seen this behavior when the package got updated, but the gem was > still an older version. Also make sure you bounce the master if the > packa

[Puppet Users] wondering if I want to much now.

2014-01-02 Thread Jelle B.
Hi all, I have been kinda stuck with the following few issues (all related to one and other) What I want ot ddo is define a couple of standard actions in puppet that I can use across all my classes. So for example I define a exec for apt-get update , or a reload. When built in to a class it w

Re: [Puppet Users] How to do "base" setup in a role/profile configuration

2014-01-02 Thread Jeff Bachtel
On 01/01/2014 08:38 PM, mjuszc...@gmail.com wrote: Hi all, I have a role/profile setup that's working quite well. However, I'm finding that there are *super* simple things that don't really require the setup of their own module, such as installing "nano" or setting up a yumrepo {}. Do I re

Re: [Puppet Users] Re: Debugging execution error with vcsrepo

2014-01-02 Thread jcbollinger
On Wednesday, December 25, 2013 9:47:39 AM UTC-6, Felix.Frank wrote: > > Hi, > > for what it's worth - the error seems to indicate that su considers > "/usr/local/bin/git config remote.origin.url" to be the name of an > executable file that contains a space. > I agree that it looks like the

Re: [Puppet Users] Re: Problem using hiera-eyaml

2014-01-02 Thread Werner Bahlke
Hi Kit, I am glad you found the cause. Can you tell me a bit more how you resolved it? I probably can figure it out eventually but any hints will be greatly appreciated. Thanks, Werner On Mon, Dec 30, 2013 at 11:17 AM, Kit Plummer wrote: > Hey Werner. I did resolve my issue. It turned out

Re: [Puppet Users] Re: Problem using hiera-eyaml

2014-01-02 Thread Kit Plummer
Hey Werner. I just added the 'read' permission to the global setting on the installed gems' directories after the 'gem install' command. I had to do it for hiera-eyaml and the gems that were installed with it. Kit. On Jan 2, 2014 8:39 AM, "Werner Bahlke" wrote: > Hi Kit, > > I am glad you foun

[Puppet Users] Re: triggering 'apt-get update'?

2014-01-02 Thread jcbollinger
On Friday, December 20, 2013 9:58:33 AM UTC-6, Jon Yeargers wrote: > > I'm using the puppetforge 'apt' module to deal with some repositories. It > has 'always-apt-update' as a property and I've had it set to 'true' but I'm > wondering what happens if I don't. > > There are at least 8 'apt' mo

[Puppet Users] Re: Puppet getting "Cannot allocate memory - fork(2)" error. Running without puppetmaster

2014-01-02 Thread jcbollinger
On Monday, December 23, 2013 2:48:31 AM UTC-6, Shay Lavi wrote: > > Hi, > I'm running puppet on Centos VM server without puppet agent (and no > puppetmaster) just by using puppet apply. > Lately i'm getting error while try to run puppet: "Cannot allocate memory > - fork(2)" > By looking at the

Re: [Puppet Users] Roles/profile design

2014-01-02 Thread jcbollinger
On Thursday, December 26, 2013 12:25:38 PM UTC-6, Joseph Swick wrote: > > On 12/26/2013 12:48 PM, Josh wrote: > > Joseph, > > > > So, the problem with this method appears to be that once you specify > > "hiera_include('classes')" in the environment's site.pp, Puppet appears > to > > try and

[Puppet Users] Re: Run stages of virtual resources

2014-01-02 Thread jcbollinger
On Tuesday, December 31, 2013 10:47:33 AM UTC-6, David Arroyo wrote: > > Our site has several dozen yum repositories. Pushing all yum repositories > to all servers isn't practical; it hurts performance, some repositories are > OS-specific, and some repositories cause conflicts with each other (

[Puppet Users] Re: Run stages of virtual resources

2014-01-02 Thread jcbollinger
On Thursday, January 2, 2014 2:18:06 AM UTC-6, james.e...@fasthosts.com wrote: > > How about chaining the resources, ala > http://docs.puppetlabs.com/puppet/2.7/reference/lang_relationships.html#chaining-arrows > . > > Yumrepo <| |> -> Package<| |> > > This declared in site.pp should apply glob

Re: [Puppet Users] How to do "base" setup in a role/profile configuration

2014-01-02 Thread mjuszczak
Thanks Jeff. That all makes sense. One final question: you suggest ::site. Is that literally a module named site? Or do you often see ::site replaced with the actual name of the site (IE: dfw01)? I'd think you'd have a ::site module and then use hiera to define the actual sites and what va

Re: [Puppet Users] How to do "base" setup in a role/profile configuration

2014-01-02 Thread Ramin K
On 1/2/2014 6:47 AM, Jeff Bachtel wrote: On 01/01/2014 08:38 PM, mjuszc...@gmail.com wrote: Hi all, I have a role/profile setup that's working quite well. However, I'm finding that there are *super* simple things that don't really require the setup of their own module, such as installing "nan

Re: [Puppet Users] How to do "base" setup in a role/profile configuration

2014-01-02 Thread Jeff Bachtel
On 01/02/2014 12:11 PM, mjuszc...@gmail.com wrote: Thanks Jeff. That all makes sense. One final question: you suggest ::site. Is that literally a module named site? Or do you often see ::site replaced with the actual name of the site (IE: dfw01)? I'd think you'd have a ::site module and t

[Puppet Users] node_aws issue: undefined method

2014-01-02 Thread Colin Cullinan
Hello, I am attempting to manage EC2 instances using Puppet's node_aws but everytime I run *~$ sudo puppet node_aws list* I get the following response *Error: undefined method `reject' for #* *Error: Try 'puppet help node_aws list' for usage* I have installed Puppet Enterprise Master 3.3.1

Re: [Puppet Users] node_aws issue: undefined method

2014-01-02 Thread Justin Stoller
On Thu, Jan 2, 2014 at 1:23 PM, Colin Cullinan wrote: > Hello, > > I am attempting to manage EC2 instances using Puppet's node_aws but > everytime I run > > *~$ sudo puppet node_aws list* > > > I get the following response > > *Error: undefined method `reject' for #* > *Error: Try 'puppet help no

[Puppet Users] Detect when files are put in a directory? And alternatives?

2014-01-02 Thread Shark Laser
I'm a puppet newbie but have gone through the tutorial and now read most of a book on the subject.(So please tell me if I am approaching the problem wrong conceptually). Problem: We want a directory where any user can put a file which will signify a program that is to be installed by Pup

Re: [Puppet Users] node_aws issue: undefined method

2014-01-02 Thread Colin Cullinan
Thanks for the quick response Justin, I had received the same error before I tried adding the CP as its own gem. For completeness, I started from scratch, using Ubuntu 12.04.3 Puppet Ent 3.1.1 and used only the CP included within the Puppet installer defined by *q_puppet_cloud_install=y* in the

Re: [Puppet Users] Cant install modules

2014-01-02 Thread Ryan Coleman
On Mon, Dec 23, 2013 at 12:07 PM, Grant Hardester wrote: > I can't install any modules, I keep getting 404's. > > Any help would be greatly appreciated! > > Thanks! > Hi Grant, which version of Puppet are you using? The search output provided suggests pre-2.7.14 but I'd like to know the exact ver

Re: [Puppet Users] Detect when files are put in a directory? And alternatives?

2014-01-02 Thread Peter Bukowinski
This is antithetical to the way Puppet is normally used, but what you're asking for is possible if you look for custom facts in /etc/facter/facts.d and use them as triggers for specific software installs. Basically, you can create one or more .txt files in that location containing one or more 'k