Re: [Puppet Users] Re: how to avoid duplicate types (i.e. users)

2012-12-31 Thread Jason Edgecombe
On 12/31/2012 07:20 PM, Schofield wrote: How do I automatically create a user (including home directory and cp of /etc/skel) as triggered by buildbot::slave::instance, and avoid the duplicate user errors? If I understand right you want all buildbot::slave::instance types to have the same user

Re: [Puppet Users] How does facter get ipaddress?

2012-12-31 Thread Jared Curtis
Facter 1.6.17 has a fix for the ip address issue for distros that use newer versions of net-tools. On Monday, December 31, 2012 1:55:49 AM UTC-8, Mandla Mbuli wrote: > > > Im considering just continue working on the tutorial, hopefully this gets > sorted by the time I need it. > I tried merging

[Puppet Users] Re: how to avoid duplicate types (i.e. users)

2012-12-31 Thread Schofield
> How do I automatically create a user (including home directory and cp of > /etc/skel) as triggered by buildbot::slave::instance, and avoid the > duplicate user errors? > If I understand right you want all buildbot::slave::instance types to have the same user. The special little flowers se

[Puppet Users] Possible to reference the nodes in a dashboard group?

2012-12-31 Thread Schofield
I need to define static routes between nodes in a cluster. The nodes in the cluster are already defined in a dashboard group. Is it possible reference an array of the nodes in a dashboard group so I can reference the nodes in a class definition? -- You received this message because you are s

Re: [Puppet Users] Re: Modules, yum repo's & best practices

2012-12-31 Thread Jason Slagle
On 12/31/2012 03:18 PM, Matthew Barr wrote: Sorry to reply to myself.. but option #1 doesn't work. (It works for resources, but not classes. Silly me.) So: should forge modules use repo's explicitly? or is there already a standard design pattern that implements a parameter for repos?

[Puppet Users] Re: Modules, yum repo's & best practices

2012-12-31 Thread Matthew Barr
Sorry to reply to myself.. but option #1 doesn't work. (It works for resources, but not classes. Silly me.) So: should forge modules use repo's explicitly? or is there already a standard design pattern that implements a parameter for repos? elseā€¦ I guess I'll end up writing one :) On D

Re: [Puppet Users] Modules, yum repo's & best practices

2012-12-31 Thread Matthew Barr
:( I was really asking after the puppet side of dealing w/ a module that wants to install it's own repo's, vs the below. Anyone else have any thoughts from the original post? On Dec 31, 2012, at 1:56 PM, Dan White wrote: > Here's what I do on the systems I manage: > > I use Cobbler and Pupp

Re: [Puppet Users] Modules, yum repo's & best practices

2012-12-31 Thread Dan White
Here's what I do on the systems I manage: I use Cobbler and Puppet together. Using Cobbler, I make local mirrors of all the repos I want to use. Then, for the third party repositories, I copy/symlink from the local mirror into a hand-maintained local repository. That local repository then is

[Puppet Users] Modules, yum repo's & best practices

2012-12-31 Thread Matthew Barr
I'm working with a forge module that specifies & installs a yum repo before it installs the packages, then goes about it's business. * package isn't part of a standard repo We operate on a policy of minimizing the amount of external repo's we use, especially on the edge systems.

[Puppet Users] Error on building basic agent-master

2012-12-31 Thread Balasubramaniam Natarajan
I am following the steps given here to create the basic agent-master, when I am ending up with the following error. http://docs.puppetlabs.com/learning/agent_master_basic.html [root@agent1 ~]# puppet agent -t info: Retrieving plugin info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/l

[Puppet Users] how to avoid duplicate types (i.e. users)

2012-12-31 Thread Jason Edgecombe
I have a defined type buildbot::slave::instance, which has a username as a parameter. The instance type has a "user" instance to create the specified user. This works fine, but each buildbot::slave::instance must use a different user. Passing the same user gives an error that the user is define

Re: [Puppet Users] Apply manifests on Puppet Managed Nodes from Puppet Master and appending to an existing file

2012-12-31 Thread Adam Goucher
On 2012-12-31 7:21 AM, Sivaraman Viswanathan wrote: Hello All, I have written a manifest which will upgrade the JAVA to a recent version (ex: JDK 6u33 to JDK7) using exec type. The installation is nothing but untarring the tar.gz file into a predefined folder and setting the JAVA_HOME and PA

Re: [Puppet Users] Broken rsync mirroring for PuppetLabs APT repo

2012-12-31 Thread Arnaud Gomes-do-Vale
Matthaus Owens writes: > What flags are you passing to rsync? The README at > http://apt.puppetlabs.com/README.txt offers a sample rsync command > which includes the --copy-links flag. When I rsync using copy links, > my dists directory looks like: Of course you're right, I used my usual rsync c

[Puppet Users] Apply manifests on Puppet Managed Nodes from Puppet Master and appending to an existing file

2012-12-31 Thread Sivaraman Viswanathan
Hello All, I have written a manifest which will upgrade the JAVA to a recent version (ex: JDK 6u33 to JDK7) using exec type. The installation is nothing but untarring the tar.gz file into a predefined folder and setting the JAVA_HOME and PATH variables in the user's bash_profile file. 1. Now

Re: [Puppet Users] How does facter get ipaddress?

2012-12-31 Thread Mandla Mbuli
Im considering just continue working on the tutorial, hopefully this gets sorted by the time I need it. I tried merging (https://github.com/Elwell/facter.git ifconfig_refactor into a clone https://github.com/puppetlabs/facter.git master and fixed the merge conflict. I then tried installing and