Re: [Puppet Users] Staging environment

2012-09-19 Thread Luke Bigum
On 19/09/12 06:11, Gonzalo Servat wrote: Hi All, In our environment, we use the $::environment variable extensively to determine if the host should have one set of mounts (e.g. production) or a different set of mounts (e.g. qa). This is just one example, but there are many others where the $:

[Puppet Users] PuppetDB SSL error (while trying to reach the dashboard)

2012-09-19 Thread SirHopcount
Hi All, I am having some problems getting PuppetDB and SSL to work. I build an test environment in Vagrant without any problems but when it try and deploy it to my production environment I can't seem to get it to work with SSL. I followed the instructions on the puppetlabs website and I made s

Re: [Puppet Users] Systems Provisioning

2012-09-19 Thread Dick Davies
On 16 September 2012 22:25, Jakov Sosic wrote: > On 09/16/2012 11:31 AM, Dick Davies wrote: >> We only provision a few nodes a day max. so that works ok. Lately I've >> been >> thinking of replacing Cobbler with The Foreman, which has better >> Puppet integration. > > > What does foreman provide

Re: [Puppet Users] Systems Provisioning

2012-09-19 Thread Nick
Hi, A have a question related to this thread. I'd like to ask, is the Foreman smart proxy amenable to being configured using Puppet, to the extent of being able to define the systems that are PXE booted within Puppet? Or is there some other existing means of configuring PXE booted systems from Pu

[Puppet Users] Re: Staging environment

2012-09-19 Thread jcbollinger
On Wednesday, September 19, 2012 12:11:24 AM UTC-5, Gonzalo wrote: > > Hi All, > > In our environment, we use the $::environment variable extensively to > determine if the host should have one set of mounts (e.g. production) or a > different set of mounts (e.g. qa). This is just one example, bu

[Puppet Users] Re: How can i get directory recursively?

2012-09-19 Thread itJunky
It's my fault =( I haeded wrong directive at auth.conf path / auth any #allow * When i uncommented it, i can download directory recursively. вторник, 18 сентября 2012 г., 17:04:32 UTC+4 пользователь itJunky написал: > > In manifest i have this instruction: > >file { "/etc/apache2": >

Re: [Puppet Users] automatic load of node definition file

2012-09-19 Thread jcbollinger
On Tuesday, September 18, 2012 1:36:53 PM UTC-5, Philip Brown wrote: > > [yes, this is a reply to an OOOLD message. sorry :) I think it's still > useful] > > This is regarding a construct that I suggested to the list back in May, > and still haven't found anything better for my purposes. > So,

[Puppet Users] Puppet 2 vs Puppet 3

2012-09-19 Thread Mark
Hi, I'm new to Puppet and, tbh, still evaluating Puppet and Chef. The time has come to install both in a proof-of-concept environment. I'm wondering if I should install Puppet 2 (2.6.16 is available in my Yum repo) or whether I should go with Puppet 3. Is there a document that lists the differe

[Puppet Users] Puppet on Windows 2003 Server > wrong IP via facter?

2012-09-19 Thread Alan Phillips
Hello! I'm just getting started working with Puppet and testing on a Windows 2003 server. When I run facter on this server it returns a wrong value for the ipaddress (should be 10.10.0.203, but facter sets ipaddress=10.0.0.203). As you can see from the following ipconfig output, facter is looki

Re: [Puppet Users] Puppet 2 vs Puppet 3

2012-09-19 Thread Luke Bigum
Puppet 2.7.19 is the latest stable release, Puppet 3.0 is still in RC. To give your proof of concept a fair trial, I'd say go with Puppet 2.7. All of the documentation on PuppetLabs' site is for 2.7 too. http://yum.puppetlabs.com/el/6Server/products/x86_64/ On 19/09/12 16:29, Mark wrote: Hi, I

Re: [Puppet Users] Puppet 2 vs Puppet 3

2012-09-19 Thread Jeff McCune
On Wed, Sep 19, 2012 at 8:29 AM, Mark wrote: > Hi, I'm new to Puppet and, tbh, still evaluating Puppet and Chef. The time > has come to install both in a proof-of-concept environment. > > I'm wondering if I should install Puppet 2 (2.6.16 is available in my Yum > repo) or whether I should go with

Re: [Puppet Users] Puppet 2 vs Puppet 3

2012-09-19 Thread mark bradley
Thanks Luke, I'm also looking for some information about the feature differences between the two major versions. Mark On Wed, Sep 19, 2012 at 11:35 AM, Luke Bigum wrote: > Puppet 2.7.19 is the latest stable release, Puppet 3.0 is still in RC. To > give your proof of concept a fair trial, I'd s

Re: [Puppet Users] Literal @ character in erb template

2012-09-19 Thread Jason Ashby
Jo, I did figure it out, not sure if you saw my last post on this. Per my last post I said, "it turns out I was using 'source' instead of 'content' within my file declaration in my manifest." So it had nothing to do with the erb file at all. Regarding the @ symbol, it was a red herring. In fac

Re: [Puppet Users] Puppet 2 vs Puppet 3

2012-09-19 Thread mark bradley
Thanks for the installation tips! You just saved me a bunch of work :) On Wed, Sep 19, 2012 at 11:38 AM, Jeff McCune wrote: > On Wed, Sep 19, 2012 at 8:29 AM, Mark wrote: > >> Hi, I'm new to Puppet and, tbh, still evaluating Puppet and Chef. The >> time has come to install both in a proof-of-co

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-19 Thread Jeff McCune
On Tue, Sep 18, 2012 at 5:00 PM, Mitchell Hashimoto < mitchell.hashim...@gmail.com> wrote: > On Tue, Sep 18, 2012 at 1:46 PM, Jeff McCune wrote: > >> >> In Telly (Puppet 3.0.0), we support plugins distributed as rubygems, so >> `require "foo/bar"` will work in this scenario, but only if the plugi

[Puppet Users] manifest class logic to update pkgs

2012-09-19 Thread Frank
Hi, I'm trying to figure if this is the right way to update my system. So, - Is the include function the best way to use dependency between classes or should I use 'Class['foo'] -> Class['bar'] instead? - The 'require => Exec['apt-weekly-update'],' is being executed for every array element. Ho

Re: [Puppet Users] automatic load of node definition file

2012-09-19 Thread Philip Brown
On Wed, Sep 19, 2012 at 7:36 AM, jcbollinger wrote: > > > On Tuesday, September 18, 2012 1:36:53 PM UTC-5, Philip Brown wrote: >>... >> ... > > I think that's just fine. Though no one would know from the responses you > received before, I think some people do pretty much what you're describing.

[Puppet Users] Re: PuppetDB SSL error (while trying to reach the dashboard)

2012-09-19 Thread Chris Price
Hi SirHopcount, How did you install PuppetDB? Is there any chance that any of your certs (agent / master) have changed since the time when you installed? I've found that sometimes the easiest way to get things fixed up when you have this problem is to do the following: 0) Stop puppetdb 1) rem

[Puppet Users] Machines not using local mirror

2012-09-19 Thread Bai Shen
I'm not sure if this is a cobbler or puppet issue, so please forgive the crossposting. I configured some repos in cobbler and set the local mirror flag. However, when I use puppet to install packages, they don't use my local mirror. This means that installs take forever as I'm on a slow connectio

[Puppet Users] patch for puppet 2.7.18, pkg.rb to work in solaris 11

2012-09-19 Thread Philip Brown
The currently existing ruby gems version of puppet (2.7.18) is not fully compatible with solaris 11 packages. It whines about some packages not matching the regular expression. I hunted around, and found a patch in the ruby bug database... which doesnt work. I found a new version of pkg.rb in

[Puppet Users] Announce: Puppet Enterprise 2.6.0 Available

2012-09-19 Thread Matthaus Owens
Dear Puppet Enterprise Users, Puppet Enterprise 2.6.0 is now available. Puppet Enterprise is a maintenance and feature release of Puppet Enterprise. As a current Puppet Enterprise user, you can upgrade to this new version as part of your annual subscription. As always, if upgrading, it is recomme

[Puppet Users] Hadoop format using puppet

2012-09-19 Thread Bai Shen
I'm using puppet to automate the creation and maintenance of my hadoop cluster. However, I'm not sure how to handle this next step. In order for the cluster to run, the namenode needs to be formatted. su hdfs -c "/usr/bin/hadoop namenode -format" I'm not sure what the best method to handle this

[Puppet Users] Puppet testing

2012-09-19 Thread llowder
I'm in the process of trying to get automated testing for my modules, using puppet-lint, rspec-puppet, puppetlabs_spec_helper and Jenkins. Are there any automated, or semi-automated ways to ensure coverage on my tests? At the moment I am writing tests for existing modules, but I also need to be

[Puppet Users] Puppet testing

2012-09-19 Thread Jason_s
Hi, It sounds like you would like to reduce some of the boilerplate code around your testing? I happened to notice this article you may find useful: http://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ best wishes, JS -- You received this message because you are subscribed

[Puppet Users] install vmware tools through puppet

2012-09-19 Thread Hai Tao
There seems to be a few vmware tools installation modules. Has someone used these modules to install VMware tools? Searching http://forge.puppetlabs.com ... NAMEDESCRIPTION AUTHORKEYWORDS vchoi-vmwarePuppet module to handle installation, upg

Re: [Puppet Users] Re: Systems Provisioning

2012-09-19 Thread Glenn Poston
We have one script that is called to bootstrap and provision new VMs. There's another one for destroying. These scripts are also responsible for logging into the puppet master (via ssh), polling for the cert to be created (puppet cert list) and then issuing the sign/clean commands. -- You re

[Puppet Users] Staging environment

2012-09-19 Thread Glenn Poston
Use heira. Heira can load a config file based on the environment. Setting this up is as simple as creating a hiera definition such as... (environment).yaml ... And then creating the following files: production.yaml and staging.yaml that contain your environment specific configs. Install the

Re: [Puppet Users] Right approach to Windows installers

2012-09-19 Thread Jason_s
Hi Josh, I have realized my noob-ness since asking this question. I think it comes down to my mindset of thinking procedurally rather than in the puppet mindset of deterministically http://puppetlabs.com/blog/inside-puppet-about-determinism/ This are all great and useful comments: I will pass t

Re: [Puppet Users] Puppet on Windows 2003 Server > wrong IP via facter?

2012-09-19 Thread Josh Cooper
Hi Alan, On Wed, Sep 19, 2012 at 8:31 AM, Alan Phillips wrote: > Hello! > > I'm just getting started working with Puppet and testing on a Windows 2003 > server. When I run facter on this server it returns a wrong value for the > ipaddress (should be 10.10.0.203, but facter sets ipaddress=10.0.0.2

Re: [Puppet Users] Machines not using local mirror

2012-09-19 Thread Denmat
Hi, Cobbler can put the desired repo in /etc/yum.repo.d - but I have in the past explicitly cleared that directory (from the cobbler post install (kickstart really)) and managed the repos via puppet only. First thing puppet did was install the right repo. It was the cleanest way I found. HTH

Re: [Puppet Users] Hadoop format using puppet

2012-09-19 Thread Denmat
Hi, Tricky one. In the past I have used a touch file to test against (if touched file there don't do it - but that is a little insecure). After the filesystem is formatted I believe you should be able to list it. However when I was using cloudera Hadoop you that could return your local filesy

[Puppet Users] Testing for dependency loops?

2012-09-19 Thread Glenn Poston
I would suggest looking into using Vagrant for local testing before pushing code. Vagrant up.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/zVMH02fI2

[Puppet Users] Puppet Labs Package Repos and Telly

2012-09-19 Thread Matthaus Owens
As you all may have noticed, Telly (Puppet 3) is in the release candidate stage and packages have been available in our yum and apt devel repos. We are committed to offering the latest Puppet packages from our repos, which means that when Telly goes final, it will be available in our production rep

Re: [Puppet Users] Staging environment

2012-09-19 Thread Gonzalo Servat
Hi All, Thanks for your feedback. While writing the original email, the subject sounded familiar and that's because I had written about it in the past: https://groups.google.com/d/topic/puppet-users/twLhIwsCRu4/discussion Apologies to those involved in the other thread for not replying, but

Re: [Puppet Users] Staging environment

2012-09-19 Thread Garrett Honeycutt
On 9/19/12 4:53 PM, Gonzalo Servat wrote: > Hi All, > > Thanks for your feedback. While writing the original email, the subject > sounded familiar and that's because I had written about it in the past: > > https://groups.google.com/d/topic/puppet-users/twLhIwsCRu4/discussion > > Apologies to

Re: [Puppet Users] Staging environment

2012-09-19 Thread Gonzalo Servat
On Thu, Sep 20, 2012 at 3:37 PM, Garrett Honeycutt wrote: > No need at all to use a different puppet master, you could just use > environments[1]. When you want to test a system again a different > environment, staging in this example, you can run `puppet agent -t > --environment=staging`. > Yep,

Re: [Puppet Users] Right approach to Windows installers

2012-09-19 Thread Jason_s
Hi Paul, Thanks - good to know. I will double-check our server and client versions today. JS -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/uDL9bVm9gtAJ.