Re: [Puppet Users] IIS / ASP.Net Module for Windows 2003 / windows 2008

2013-02-12 Thread Rakesh Kathpal
Dear Ryan & Simon, Thanks for your reply. The thing is I have already tested the dism module on windows 2008 R2 and am satisfied. But I am looking for iis and asp.net module for windows 2003 and windows 2008. Thanks & Regards, Rakesh K. On Wed, Feb 13, 2013 at 4:56 AM, Ryan Coleman wrote: >

Re: [Puppet Users] getting notrun to 0 error

2013-02-12 Thread yarlagadda ramya
Sorry krish...i dint get you.. On Wednesday, 13 February 2013 11:24:16 UTC+5:30, krish wrote: > > > err: /Stage[main]//Exec[copy_unzip]/returns: change from notrun to 0 >> failed: /usr/bin/unzip -C /db/oracle /db/combo.zip returned 9 instead of >> one of [0] at /root/learning-manifests/combozip.

Re: [Puppet Users] getting notrun to 0 error

2013-02-12 Thread krish
> err: /Stage[main]//Exec[copy_unzip]/returns: change from notrun to 0 > failed: /usr/bin/unzip -C /db/oracle /db/combo.zip returned 9 instead of > one of [0] at /root/learning-manifests/combozip.pp:13 > You seem to have a liking for spacebar ^ -- *Krish* I lives in a cave nd writes me games -

Re: [Puppet Users] `./puppet-enterprise-uninstaller -pd` - not removing /var/lib/peadmin

2013-02-12 Thread Matthaus Owens
I'm CCing the pe-users list as this is a pe-specific question. You're totally right, the uninstaller should be removing the homedir if you pass the -p flag. That looks like a bug in the uninstaller. I've opened a bug on our issue tracker where you can follow it: https://projects.puppetlabs.com/iss

[Puppet Users] how to check whether a linux process is running?

2013-02-12 Thread oliver zhang
Hi Everyone, I'm new to puppet. How do I do this in puppet: if process A is running, do nothing. else mount share and install package A I couldn't find any reference about this. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

[Puppet Users] `./puppet-enterprise-uninstaller -pd` - not removing /var/lib/peadmin

2013-02-12 Thread Stephen Wallace
Puppet 2.7.19 (Puppet Enterprise 2.7.0) When I try to uninstall/purge the product using command below, /var/lib/peadmin/.* remains ./puppet-enterprise-uninstaller -pd [root@puppettarget peadmin]# ls -la total 44 drwx-- 5 502 502 4096 Feb 13 13:13 . drwxr-xr-x. 24 root root 4096 Feb 13 15

Re: [Puppet Users] Coordinated application deployments

2013-02-12 Thread Peter Brown
On 13 February 2013 13:24, Brian Lalor wrote: > On Feb 12, 2013, at 10:16 PM, Peter Brown wrote: > > You could just disable the puppet daemon on the node after setting it up > and manually running puppet with --noop so you know what has changed before > you apply it. > > > Ok, so that would keep

Re: [Puppet Users] Coordinated application deployments

2013-02-12 Thread Brian Lalor
On Feb 12, 2013, at 10:16 PM, Peter Brown wrote: > You could just disable the puppet daemon on the node after setting it up and > manually running puppet with --noop so you know what has changed before you > apply it. Ok, so that would keep it from checking in periodically but would still sync

Re: [Puppet Users] Coordinated application deployments

2013-02-12 Thread Peter Brown
You could just disable the puppet daemon on the node after setting it up and manually running puppet with --noop so you know what has changed before you apply it. On 13 February 2013 12:37, Brian Lalor wrote: > I'd like to use Puppet for the "last-mile" deployment of our applications, > startin

[Puppet Users] Coordinated application deployments

2013-02-12 Thread Brian Lalor
I'd like to use Puppet for the "last-mile" deployment of our applications, starting from a bare VM and ending up with a server that is running a specific version of an application. We're using a Puppet master already, which I kind of feel is something of a problem: if I were just running "puppe

Re: [Puppet Users] IIS / ASP.Net Module for Windows 2003 / windows 2008

2013-02-12 Thread Ryan Coleman
On Thu, Feb 7, 2013 at 3:18 AM, Rakesh Kathpal wrote: > I am looking for IIS and asp.net module for windows 2003 & windows 2008, > can anyone please help ? > Hi. For starters, this example from the dism module will install iis and .net. dism { 'NetFx3': ensure => present, } dism { 'IIS-WebSe

Re: [Puppet Users] PuppetLabs Razor Module - Rookie Help

2013-02-12 Thread Ryan Coleman
Hi Aaron, Is it possible that the node you're running this on runs out of memory during the Puppet run? On Tue, Feb 12, 2013 at 11:43 AM, Aaron Gibson wrote: > Hello, > > I have downloaded the puppetlabs razor module and have attempted to apply > it locally and on a node, getting this result: a

[Puppet Users] Re: Alternatives to attempting self-modifying puppet code....

2013-02-12 Thread llowder
On Tuesday, February 12, 2013 8:28:18 AM UTC-6, jcbollinger wrote: > > > > On Monday, February 11, 2013 4:30:16 PM UTC-6, llowder wrote: >> >> The title pretty much sums it up. >> >> I've got a situation where I need to have puppet enforce a given state >> most of the time, then when a certain f

[Puppet Users] Puppet with Passenger - 403 Forbidden errors???

2013-02-12 Thread Gavin Williams
Hi all I'm trying to migrate our existing Puppet env from WeBrick to Passenger with Apache. I followed the following tutorials http://wiki.unixcraft.com/display/MainPage/Puppet+3.0+Installation+on+Centos+6.3 & http://aricgardner.com/deployment/puppet-2/puppet-master-on-centos-5-7-with-passe

Re: [Puppet Users] Re: Hiera question -- accessing a hash from an erb template

2013-02-12 Thread Gonzalo Servat
On Wed, Feb 13, 2013 at 1:41 AM, jcbollinger wrote: > > For some reason, the output in /etc/foo.conf will be '10GB' on its own >> line, instead of 'file_size: 10GB'. Almost as if there is a funny character >> in there? >> >> Any ideas? >> > > > Maybe there's a funny character in there. Seriously.

Re: [Puppet Users] Alternatives to a dynamic scope lookup

2013-02-12 Thread jcbollinger
On Tuesday, February 12, 2013 11:28:28 AM UTC-6, Roman Shaposhnik wrote: > > Now, to a practical matter -- in this particular case (unlike the > other thread :-)) > I genuinely don't see how I can utilize Hiera. Given that the classes > create > the rich state based on facter values/etc (e.g.

[Puppet Users] PuppetLabs Razor Module - Rookie Help

2013-02-12 Thread Aaron Gibson
Hello, I have downloaded the puppetlabs razor module and have attempted to apply it locally and on a node, getting this result: attached image. Any and all help is greatly appreciated!

[Puppet Users] Less than 25Y to the End of the world (I mean 32-bit)

2013-02-12 Thread Jemmorey
A note and a complaint. Being a lazy sysadmin, I configured my ca_ttl to 25y. I assumed (poorly) that the ca would be created with the 25 year life span, and then certs would be created and use the end date of the root cert. This is not correct. Somehow a root CA can create certificates that

Re: [Puppet Users] Windows MSI Error "change from absent to present failed: Failed to install: Fail on INT 24."

2013-02-12 Thread Michael O'Dea
Answering my own question, and hopefully jim's as well! I had just had my module open in Geppetto, which yelled at me for having used backslashes in the MSI's package definition. I switched them to forward slashes to make it happy, and it appears as though jim's code above also uses forward s

Re: [Puppet Users] Windows MSI Error "change from absent to present failed: Failed to install: Fail on INT 24."

2013-02-12 Thread Michael O'Dea
Hopefully not thread hijacking, hope my issue is the same. Strangely, I had this problem last week and then resolved it when I made a few more changes to the MSI. The issue has just now returned for me, and I'm not clear how my latest changes (from a debug mode package to a release package) w

[Puppet Users] Unable to sync the time

2013-02-12 Thread seshendrams
Hi, When I was trying to run the puppet client I was getting this error *adminuser@ubuntu:~$ sudo puppet agent --server puppet-master.merchii.com --waitforcert 180 --test* *err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:

Re: [Puppet Users] Alternatives to a dynamic scope lookup

2013-02-12 Thread Roman Shaposhnik
On Mon, Feb 11, 2013 at 3:06 PM, jcbollinger wrote: > Puppet DSL does not have such a feature. :-( > You have at least three alternatives: > > Depending on how your classes are arranged, hiera may provide a reasonable > way to address this problem. (Notwithstanding your distinct lack of > enthu

Re: [Puppet Users] [SC] EnumQueryServicesStatus:OpenService FAILED 123

2013-02-12 Thread Josh Cooper
On Tue, Feb 12, 2013 at 5:19 AM, Carlos Tapia < carlos.tapia.corva...@gmail.com> wrote: > *Hi guys!* > * > * > *I'm trying to perform a service creation using SC and if this service > is already created, using an "unless" we can avoid it. * > This is the resource I use to install the jenkins age

Re: [Puppet Users] Windows MSI Error "change from absent to present failed: Failed to install: Fail on INT 24."

2013-02-12 Thread Josh Cooper
On Tue, Feb 12, 2013 at 8:06 AM, jim wrote: > Hello all, > > i'm having a few issues whilst trying to install 2 different msi packages > and getting the same error and was wondering if anyone could shed some > light on where i'm going wrong:- > > > class roles::base::ntsyslog { > > file { 'C:/Ins

Re: [Puppet Users] Getting dangerous with hiera

2013-02-12 Thread Dan White
My initial goal is to just define the parameters. Declaring the classes in hiera was the intended final goal, but I was wanting to do it in steps. All this info helps. Thanks, all “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it

[Puppet Users] Windows MSI Error "change from absent to present failed: Failed to install: Fail on INT 24."

2013-02-12 Thread jim
Hello all, i'm having a few issues whilst trying to install 2 different msi packages and getting the same error and was wondering if anyone could shed some light on where i'm going wrong:- class roles::base::ntsyslog { file { 'C:/Installs/NTSyslog2.msi': source => 'puppet:///mod

[Puppet Users] Re: semi-standalone puppet mode

2013-02-12 Thread Paul Tötterman
Hi Ivan, > Had somebody invented something like that and how? > Doesn't puppet do that right now? If it's unable to fetch a new catalog from master it uses the cached catalog that it has received previously. Cheers, Paul -- You received this message because you are subscribed to the Google

[Puppet Users] Re: Hiera question -- accessing a hash from an erb template

2013-02-12 Thread jcbollinger
On Tuesday, February 12, 2013 12:16:00 AM UTC-6, Gonzalo wrote: > > Hi All, > > Simple question (hopefully). Say I have this: > > common.yaml: > > foo: >bar: 10GB > > ... and in the manifest: > > $config = hiera('foo') > > file { '/etc/foo.conf': >content => template('module/foo.erb') > }

Re: [Puppet Users] Getting dangerous with hiera

2013-02-12 Thread llowder
On Tuesday, February 12, 2013 8:09:49 AM UTC-6, jcbollinger wrote: > > > > On Tuesday, February 12, 2013 7:16:21 AM UTC-6, Drew Blessing wrote: >> >> >> Then you can go about adding any parameters that need defined for those >> classes: >> >> class1::param1: 'boom' >> class2::array1: >> - 'foo

[Puppet Users] Re: Alternatives to attempting self-modifying puppet code....

2013-02-12 Thread jcbollinger
On Monday, February 11, 2013 4:30:16 PM UTC-6, llowder wrote: > > The title pretty much sums it up. > > I've got a situation where I need to have puppet enforce a given state > most of the time, then when a certain flag is present it needs to use a > different state - but only until a certain a

[Puppet Users] shared header across multiple defined types via concat

2013-02-12 Thread Darin Perusich
Hello All, I have two defined types which I'd like to share a common, realized header concat resource but when both are declared in a manifest the header is only applied to one of the types. When the headers are declared independently for each type the work but that's is a bunch of nearly identica

[Puppet Users] Re: Referencing facts in Puppet Ruby DSL

2013-02-12 Thread jcbollinger
On Tuesday, February 12, 2013 5:10:02 AM UTC-6, Andriy Yurchuk wrote: > > How do I reference my custom created facts (distributed via pluginsync)? I > tried Facter[:custom_fact].value, but this does not seem to work - it > always returns the value for the fact on master. > Node facts, both cus

Re: [Puppet Users] Getting dangerous with hiera

2013-02-12 Thread jcbollinger
On Tuesday, February 12, 2013 7:16:21 AM UTC-6, Drew Blessing wrote: > > > Then you can go about adding any parameters that need defined for those > classes: > > class1::param1: 'boom' > class2::array1: > - 'foo' > - 'bar' > - 'baz' > class2::param2: 'thing' > > That's it. You're done. I

Re: [Puppet Users] Getting dangerous with hiera

2013-02-12 Thread llowder
On Tuesday, February 12, 2013 7:16:21 AM UTC-6, Drew Blessing wrote: > > Ellison is right, it really doesn't make much sense to create one resource > with create_resources. In fact, I'm not even sure it will work with > classes because I've never tried it. However, it works great for defined

[Puppet Users] [SC] EnumQueryServicesStatus:OpenService FAILED 123

2013-02-12 Thread Carlos Tapia
*Hi guys!* * * *I'm trying to perform a service creation using SC and if this service is already created, using an "unless" we can avoid it. * *Sound very simple, but for any reason, when instructions are called by puppet they are not working instead you call directly, same instructions, using

[Puppet Users] semi-standalone puppet mode

2013-02-12 Thread Ivan Lysov
Hi All! I do manage some hosts with puppet and it's pretty great. But among those hosts htere are some boxes that are sometimes taken away from my network, used for demonstrations somewhere outside and return back. And I want puppet to manage those hosts even when they are away and alone. And of

Re: [Puppet Users] Getting dangerous with hiera

2013-02-12 Thread Drew Blessing
Ellison is right, it really doesn't make much sense to create one resource with create_resources. In fact, I'm not even sure it will work with classes because I've never tried it. However, it works great for defined types. I think I understand what you're trying to do so let me give an examp

Re: [Puppet Users] Unable to resolve notrun to 0 error

2013-02-12 Thread Matthew Burgess
On Tue, Feb 12, 2013 at 6:30 AM, yarlagadda ramya wrote: > err: /Stage[main]//Exec[copy_unzip]/returns: change from notrun to 0 failed: > /usr/bin/unzip -C /db/oracle unzip /db/linux.x64_11gR2_database_1of2.zip > returned 9 instead of one of [0] at > /root/learning-manifests/installzip1.pp:13 > n

Re: [Puppet Users] Regarding the error Could not retrieve catalog from remote server:

2013-02-12 Thread seshendrams
Yes I tried it but I could not able to solve the issue. On Tuesday, February 12, 2013 1:21:44 PM UTC+1, R.I. Pienaar wrote: > > > > - Original Message - > > From: seshe...@gmail.com > > To: puppet...@googlegroups.com > > Sent: Tuesday, February 12, 2013 11:41:30 AM > > Subject: [Pu

Re: [Puppet Users] file resource, multiple owner values

2013-02-12 Thread Felix Frank
Fascinating. I propose opening a documentation bug, if there is indeed no mention of the functionality. I suppose there isn't, because this is the first time I hear about this. Cheers, Felix On 02/11/2013 05:26 PM, Jennings, Jared L CTR USAF AFMC 96 SK/CCI wrote: > With Puppet 2.7.20, it seems th

Re: [Puppet Users] Nagios Contacts(groups)

2013-02-12 Thread Felix Frank
Hi, On 02/11/2013 02:12 PM, Jamie Cressey wrote: > > Is there a way to create a list such as ; > name1:username1:emailaddress1 > name2:username2:emailaddress2 classic use case for defined types. http://docs.puppetlabs.com/guides/language_guide.html#defined-resource-types Your type will look lik

Re: [Puppet Users] Regarding the error Could not retrieve catalog from remote server:

2013-02-12 Thread R.I.Pienaar
- Original Message - > From: seshendr...@gmail.com > To: puppet-users@googlegroups.com > Sent: Tuesday, February 12, 2013 11:41:30 AM > Subject: [Puppet Users] Regarding the error Could not retrieve catalog from > remote server: > > Hi, > I am newbie in puppet. Now I have installed the

[Puppet Users] Regarding the error Could not retrieve catalog from remote server:

2013-02-12 Thread seshendrams
Hi, I am newbie in puppet. Now I have installed the puppet master and puppet client on 2 nodes. when I ran puppet client with the command *$ sudo puppetd --waitforcert 60 --verbose --debug --test* * * *I have got an following error * * * * debug: Failed to load library 'selinux' for feature 'seli

Re: [Puppet Users] Run Puppet Against Master with Local node.pp Manifest?

2013-02-12 Thread Brian Lalor
On Feb 12, 2013, at 5:35 AM, Ralph Bolton wrote: > Thanks for the suggestion. I did wonder about copying all the modules and > configs off the Puppet Master onto the test box. My concern is really just > about keeping that lot up to date, and most importantly to make sure that it > behaves the

[Puppet Users] Referencing facts in Puppet Ruby DSL

2013-02-12 Thread Andriy Yurchuk
How do I reference my custom created facts (distributed via pluginsync)? I tried Facter[:custom_fact].value, but this does not seem to work - it always returns the value for the fact on master. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T

Re: [Puppet Users] Issue in using postgresql with puppetdb

2013-02-12 Thread Ken Barber
Regardless, if the hostname 'puppet-DB.example.com' in your settings points to a public IP address that is not 127.0.0.1, PuppetDB might not be listening on that interface. Double check this, and potentially change the 'ssl-host' setting as suggested to see if it resolves your issue. On Tue, Feb 1

Re: [Puppet Users] Issue in using postgresql with puppetdb

2013-02-12 Thread Heena
Hi, Thanks for the reply. I am using same system for puppetmaster and puppetdb. On Tuesday, February 12, 2013 4:02:18 PM UTC+5:30, Ken Barber wrote: > > Hi Heena, > > Is your puppetdb system separate from your puppetmaster? If so, you > probably need to make sure that PuppetDB is listening on

Re: [Puppet Users] Run Puppet Against Master with Local node.pp Manifest?

2013-02-12 Thread Ralph Bolton
Thanks for the suggestion. I did wonder about copying all the modules and configs off the Puppet Master onto the test box. My concern is really just about keeping that lot up to date, and most importantly to make sure that it behaves the same as it would do if it came from the Master. It could b

Re: [Puppet Users] Issue in using postgresql with puppetdb

2013-02-12 Thread Ken Barber
Hi Heena, Is your puppetdb system separate from your puppetmaster? If so, you probably need to make sure that PuppetDB is listening on the correct interface. By default we only listen on 127.0.0.1. Take a look at: /etc/puppetdb/conf.d/jetty.ini And set the 'ssl-host' entry to your public interf

[Puppet Users] Issue in using postgresql with puppetdb

2013-02-12 Thread Heena
Hi, When i m using Postgresql database with puppetdb in puppet 3.0.2, following error is coming. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts' command for abcd.example.com to PuppetDB at puppet-DB.example.com:8081: Connection refused -

Re: [Puppet Users] Run Puppet Against Master with Local node.pp Manifest?

2013-02-12 Thread R.I.Pienaar
- Original Message - > From: "Ralph Bolton" > To: puppet-users@googlegroups.com > Sent: Tuesday, February 12, 2013 10:06:51 AM > Subject: [Puppet Users] Run Puppet Against Master with Local node.pp Manifest? > > Does anyone know if it's possible to run Puppet as if it's running with a >

[Puppet Users] Run Puppet Against Master with Local node.pp Manifest?

2013-02-12 Thread Ralph Bolton
Does anyone know if it's possible to run Puppet as if it's running with a Master, but using a locally created node.pp manifest? I'm looking into doing some unit tests on applications that are installed by Puppet. To do this, I'm trying to use a test VM server which I'll deploy applications onto

[Puppet Users] Re: Package install from a URL

2013-02-12 Thread David Caro
As I've seen in the code, th eyum provider passes the name of the package to yum, so instead of using source you should use name: class yum::repos::puppetlabs { package { 'puppetlabs-release': ensure => installed, name => ' http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-rele

[Puppet Users] Puppet 3.1 slow to compile in Windows (standalone mode)

2013-02-12 Thread Styme
I'm trying to learn Puppet (v.3.1) and I've noticed that in Windows it takes Puppet quite a bit of time to process a manifest compared to the experience I had with the "Learning VM". I mean a simple manifest like this: file { 'C:\testfile.txt': ensure => 'present', content => 'This is a text fi

Re: [Puppet Users] Getting dangerous with hiera

2013-02-12 Thread Ellison Marks
The second example would work, I think, but then one asks why are we using a call to create_resources to create one resource? What is the eventual goal of this code, is what I'm trying to ask. On Monday, February 11, 2013 5:58:08 PM UTC-8, Ygor wrote: > > OK. Lets try it like this: > > .pp >