Re: [Puppet Users] First anniversary of the module team

2014-06-26 Thread Johan De Wit
Happy anniversary to you all !! On 25/06/14 18:53, Ashley Penney wrote: The 1st anniversary of the module team! Hello from the module team here at Puppet Labs! I’m starting this email with a lie because I’m not sure exactly when our first anniversary really is, but I started on the 1st of

[Puppet Users] Re: How to use defined type as requirement inside exec

2014-06-26 Thread Gavin Williams
Something like: require = Fille_template[$foo] should do it... Gav On Thursday, 26 June 2014 06:49:55 UTC+1, Malintha Adikari wrote: Hi, I have defined type as follows *define fill_templates($location) {$fileName = $name[filename]

Re: [Puppet Users] How to use defined type as requirement inside exec

2014-06-26 Thread Felix Frank
On 06/26/2014 07:49 AM, Malintha Adikari wrote: $fileName = $name[filename] $fileLocation = $name[filelocation] I hope you're aware that his is nonsensical - the $name variable *never* takes a hash value. It is always the resource

[Puppet Users] Re: How to use defined type as requirement inside exec

2014-06-26 Thread Malintha Adikari
It works, Thank you On Thursday, June 26, 2014 1:24:51 PM UTC+5:30, Gavin Williams wrote: Something like: require = Fille_template[$foo] should do it... Gav On Thursday, 26 June 2014 06:49:55 UTC+1, Malintha Adikari wrote: Hi, I have defined type as follows *define

[Puppet Users] [puppet on windows] notice: Run of Puppet configuration client already in progress; skipping

2014-06-26 Thread sinc
Hello, I use puppet on windows, many servers works perfectly but I have19 servers in out of sync state... When i launch a puppet test on them, I have the following error message: notice: Run of Puppet configuration customer already in progress; skipping I tried a puppet agent --enable then

Re: [Puppet Users] Puppetdb not receiving any catalog updates.

2014-06-26 Thread Jelle B.
http://pastebin.com/UnNxw0n6 There you go all in one Cleaned soem comments out to reduce the size a bit , but I think it is relativlly vanilla On Wednesday, June 25, 2014 7:25:57 PM UTC+2, Ken Barber wrote: Been fighting witht his now for a bit , and IRC didnt seem to have any answers so

[Puppet Users] how to copy jar and ESB files from Master to agent machines

2014-06-26 Thread Satish Katuru
Hi, I tried to copy jar files and ESB files from master to Agent. This is how my init.pp looks like: class httpd { file { /home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService-1.0.esb: ensure = present, owner = katusa02, group = katusa02, mode = 0777, source =

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-26 Thread Satish Katuru
Hi Brian Mathis, I tired to copy the jar files and Zip files from Master to agent machine but i am unable to do this. My init.pp looks like below: class httpd { file { /home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService-1.0.esb: ensure = present, owner = katusa02,

[Puppet Users] New Puppet book: Extending Puppet

2014-06-26 Thread Alessandro Franceschi
Sorry for the shameless promotion, but I suppose this might be of interest for the readers of this group. After more that 6 months of pain, efforts, frustration and excitement it's finally out a book where I tried to pour all my knowledge and experience on Puppet. It's oriented to people who

[Puppet Users] Re: 2-3 unlisted incompatible change to array slices?

2014-06-26 Thread jcbollinger
On Wednesday, June 25, 2014 4:44:27 PM UTC-5, mpou...@afilias.info wrote: While migrating our local modules from puppet 2 to puppet 3 I think I've found a backwards-incompatible change that's not listed in the release notes. I'd like to verify that what I'm seeing is expected, and make

[Puppet Users] Re: Error 400 on SERVER: Could not find data item wls_jdk_version in any Hiera data file and no default supplied at /etc/puppetlabs/puppet/environments/testing/modules/weblogic_esb/mani

2014-06-26 Thread jcbollinger
On Wednesday, June 25, 2014 3:31:10 PM UTC-5, Supriya Uppalapati wrote: It's very hard to follow your YAML because it has been viciously munged by your mailer. Maybe the unmunged form is ok. I'd be inclined to suspect the data hierarchy set out in your hiera.yaml, or the location of the

[Puppet Users] Community packages : error: rubygem-stomp-1.3.2-1.el5

2014-06-26 Thread DjE
Hi, We have an issue with this package : error: rubygem-stomp-1.3.2-1.el5: Header V4 RSA/SHA512 signature: BAD, key ID 4bd6ec30 Everything works fine with .el6 package. Dje -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

[Puppet Users] Re: What is the execution order in a manifest file

2014-06-26 Thread jcbollinger
On Wednesday, June 25, 2014 7:04:16 AM UTC-5, Malintha Adikari wrote: When I execute this manifest what is the order of the above 3 elements execution. I have noticed the they are executed in mixed order. No, they're not. Declarations in any manifest are processed to-to-bottom,

[Puppet Users] Re: Rethinking Puppet modules

2014-06-26 Thread Alessandro Franceschi
On Tuesday, June 24, 2014 3:48:17 PM UTC+2, jcbollinger wrote: On Monday, June 23, 2014 10:34:00 AM UTC-5, Alessandro Franceschi wrote: First of all, let me thank you, John, for replying to this post and giving a sense to the discussion. At times I wonder if PuppetLabs' guys read the

Re: [Puppet Users] Re: Rethinking Puppet modules

2014-06-26 Thread Alessandro Franceschi
On Tuesday, June 24, 2014 4:20:33 PM UTC+2, Felix.Frank wrote: Hi guys, On 06/24/2014 03:48 PM, jcbollinger wrote: I understand the point, but at the same time I find it harmful also to have hundreds of modules, that are published on the forge but work only for a

Re: [Puppet Users] Re: Rethinking Puppet modules

2014-06-26 Thread Alessandro Franceschi
On Tuesday, June 24, 2014 4:27:41 PM UTC+2, pablo.f...@cscs.ch wrote: Hi, On 23/06/14 19:15, Alessandro Franceschi wrote: As a side note I'm a bit perplex about the proliferation of parameters in classes or defines in order to match single application specific configuration entries.

[Puppet Users] resources type and different providers

2014-06-26 Thread Cristian Falcas
Hello, I'm trying to make a new provider for the firewall type ( for amazon security groups ). But I'm trying to use both providers inside the catalog: some rules I need for iptables only (for ex. nat rules), others for the security groups only. I'm differentiating between the rules with a

[Puppet Users] how to create custom application facts

2014-06-26 Thread Supriya Uppalapati
Hi I am trying to create custom application facts to create hierarchy for my environment database │ └── testing │ ├── default.yaml │ └── dot-idb-spr-t01.ddc.dot.state.ma.us.yaml ├── defaults.yaml ├── global.yaml ├── hp-extreme │ ├── dev │ ├── dev1 │ ├── dev2 │ ├── dev3 │

[Puppet Users] File server on linux - files with spaces are 404 on server

2014-06-26 Thread James Green
I'm trying to finish off some work a colleague began which includes distribution of some files from the puppet master. I just fired up a new instance and watched as puppet agent -t came up with a whole lot of errors in ensuring certain files were present. Intrigued, it seems those with a space in

[Puppet Users] Dealing with Packages on Windows that contain special characters

2014-06-26 Thread Ken Sykora
I'm currently trying to prevent a specific package from continuing its install run on subsequent puppet apply commands. The package in Question is the Windows Azure SDK for .Net 2.3. The package's name listed in the registry contains an endash (–) instead a normal hyphen.

Re: [Puppet Users] What is the execution order in a manifest file

2014-06-26 Thread Henrik Lindberg
On 2014-25-06 14:04, Malintha Adikari wrote: How can I define the order of execution in this kind of scenario ? This explains how it works: http://puppet-on-the-edge.blogspot.se/2014/04/getting-your-puppet-ducks-in-row.html -- Visit my Blog Puppet on the Edge

[Puppet Users] Problem after updating to puppet-3.6.2-1

2014-06-26 Thread mohammad kashif
Hi I am having an issues after updating to puppet-3.6.2-1. Main problem is that few nodes are failing with Error: Could not retrieve catalog; skipping run all the time. I am running puppet with passenger and it was working perfectly before upgrade. I am managing almost 200 nodes with puppet.

Re: [Puppet Users] New Puppet book: Extending Puppet

2014-06-26 Thread Spencer Krum
Congratulations! On Jun 26, 2014 6:12 AM, Alessandro Franceschi a...@lab42.it wrote: Sorry for the shameless promotion, but I suppose this might be of interest for the readers of this group. After more that 6 months of pain, efforts, frustration and excitement it's finally out a book where I

[Puppet Users] installation of package to a different folder

2014-06-26 Thread bobby38
Hello All, I am trying to install jdk package to a different folder rather than the default folder. i am trying to install for instance to /operation/tools/jdk-1.7 is there anyway to do this in puppet? Thanks and regards Babak -- You received this message because you are subscribed to the

[Puppet Users] Re: installation of package to a different folder

2014-06-26 Thread bobby38
On Thursday, June 26, 2014 1:04:30 PM UTC-4, bobby38 wrote: Hello All, I am trying to install jdk package to a different folder rather than the default folder. i am trying to install for instance to /operation/tools/jdk-1.7 is there anyway to do this in puppet? Thanks and regards

Re: [Puppet Users] installation of package to a different folder

2014-06-26 Thread Jim Ficarra
Try the install_options attribute of the package type. You need to know what the install option is for the JDK itself to go to another folder, then use the install_options attribute in puppet. http://docs.puppetlabs.com/references/latest/type.html#package-attribute-install_options From:

[Puppet Users] Facter doesnt resolve ipaddress or ipaddress_eth0

2014-06-26 Thread Joao Morais
Hello list. I am trying to read the IP address of the eth0 interface from a CentOS 6.5 VM (XenServer). Running the manifest gives empty values to all of the following vars: $ipaddress, $ipaddress_eth0, and its $::name version. $interfaces has eth0,lo. Running facter from the VM I get: #

Re: [Puppet Users] New Puppet book: Extending Puppet

2014-06-26 Thread Nigel Kersten
On Thu, Jun 26, 2014 at 10:01 AM, Spencer Krum krum.spen...@gmail.com wrote: Congratulations! On Jun 26, 2014 6:12 AM, Alessandro Franceschi a...@lab42.it wrote: Sorry for the shameless promotion, but I suppose this might be of interest for the readers of this group. Congratulations

Re: [Puppet Users] installation of package to a different folder

2014-06-26 Thread bobby38
Hi Jim, Thank you for your reply. i couldnt find anything related to JDK installation option in that page but I was thinking to do it this way ... class java_rpm::install { $version = 'jdk-7u25-linux-x64.rpm' package { $version: provider = rpm, exec {$version: install_options =

Re: [Puppet Users] resources type and different providers

2014-06-26 Thread Felix Frank
On 06/26/2014 04:24 PM, Cristian Falcas wrote: Much to my surprise, both providers are executed for each firewall rule: so i have a security rule added and an iptables rule. I like this very much, because at first I thought that only the amazon rules will be executed. My question is: is

Re: [Puppet Users] installation of package to a different folder

2014-06-26 Thread Jim Ficarra
You won’t find how to install the JDK on the puppet page describing the package resource. You need to first find out how you would install the JDK to an alternate path – that will be in the JDK documentation and not Puppet. Once you figure it out with the JDK you then specify the parameter in

Re: [Puppet Users] resources type and different providers

2014-06-26 Thread Cristian Falcas
Thank you, I opened https://tickets.puppetlabs.com/browse/PUP-2846 On Thu, Jun 26, 2014 at 9:04 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 06/26/2014 04:24 PM, Cristian Falcas wrote: Much to my surprise, both providers are executed for each firewall rule: so i have a

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-26 Thread Brian Mathis
Your source line needs 3 slashes after puppet: source = puppet:///$puppetserver/modules/httpd/ParserService-1.0.esb, ❧ Brian Mathis @orev On Thu, Jun 26, 2014 at 2:47 PM, Satish Katuru satishkat...@gmail.com wrote: Hi Brian Mathis, I tired to copy the jar files and Zip files from

[Puppet Users] problem running puppet addon module

2014-06-26 Thread Santosh Guddala
Is there any difference between these two statements #1 source = puppet:///modules/dasinfra_svc_guts/etc/init.d/gutsv2webapid #2 source = 'puppet:///modules/dasinfra_svc_guts/etc/init.d/gutsv2webapid' #1 works fine with adhoc puppet master #2 fails with puppetmaster with the errors below

[Puppet Users] Re: problem running puppet addon module

2014-06-26 Thread 'Santosh Guddala' via Puppet Users
pls read as *I don't believe the quotes make any difference* On Thu, Jun 26, 2014 at 11:42 AM, Santosh Guddala gsant...@google.com wrote: Is there any difference between these two statements #1 source = puppet:///modules/dasinfra_svc_guts/etc/init.d/gutsv2webapid #2 source = '

[Puppet Users] Re: resources type and different providers

2014-06-26 Thread jcbollinger
On Thursday, June 26, 2014 9:25:44 AM UTC-5, Cristian Falcas wrote: Hello, I'm trying to make a new provider for the firewall type ( for amazon security groups ). But I'm trying to use both providers inside the catalog: some rules I need for iptables only (for ex. nat rules), others

[Puppet Users] Puppet exec default user

2014-06-26 Thread virgil
Hi guys, I wonder when I executed the following command, eg: class cal{ exec{'perms': command = 'C:\Windows\System32\calc.exe', logoutput = true } } What is the default execute user? Or which log can I reference to find it out? Thanks. Virgil -- You received

[Puppet Users] Re: Puppet exec default user

2014-06-26 Thread virgil
I find this in http://docs.puppetlabs.com/references/latest/type.html#cron-attribute-user. This property defaults to the user running Puppet or root. May I assume it's same for exec? On Thursday, June 26, 2014 1:45:29 PM UTC-7, virgil wrote: Hi guys, I wonder when I executed the

Re: [Puppet Users] Puppet exec default user

2014-06-26 Thread Rob Reynolds
On Thu, Jun 26, 2014 at 3:45 PM, virgil virgil...@gmail.com wrote: Hi guys, I wonder when I executed the following command, eg: class cal{ exec{'perms': command = 'C:\Windows\System32\calc.exe', logoutput = true } } What is the default execute user? Or

Re: [Puppet Users] Puppet exec default user

2014-06-26 Thread virgil
Thank you so much! Your answer is perfect for me. On Thursday, June 26, 2014 2:57:17 PM UTC-7, Rob Reynolds wrote: On Thu, Jun 26, 2014 at 3:45 PM, virgil virg...@gmail.com javascript: wrote: Hi guys, I wonder when I executed the following command, eg: class cal{

Re: [Puppet Users] Community packages : error: rubygem-stomp-1.3.2-1.el5

2014-06-26 Thread Moses Mendoza
Hi Dje, Thanks for reporting this. It looks like that package may be signed with the wrong header version. We'll look into it asap. Moses On Jun 26, 2014 6:27 AM, DjE d...@nosbox.net wrote: Hi, We have an issue with this package : error: rubygem-stomp-1.3.2-1.el5: Header V4 RSA/SHA512

[Puppet Users] Execute a class if a file is not present.

2014-06-26 Thread Seby
Hi Puppet experts, I'm trying to install tomcat7*tar.gz on few puppet-agent machines. I've defined a class that will create a user/group and copy the source file from puppet-master then extracts the tomcat*.tar.gz file to its home directory and deletes the source file. This seems to be

Re: [Puppet Users] Re: appdmg and pkgdmg providers download packages insecurely?

2014-06-26 Thread Moses Mendoza
Hi Jack, Thanks for pointing this out. We'll look into this asap. Moses On Jun 25, 2014 11:42 AM, Jack Singleton jack.s.single...@gmail.com wrote: Lines in code that are hard coded to use the -k flag:

Re: [Puppet Users] Execute a class if a file is not present.

2014-06-26 Thread Rich Burroughs
How are you doing the installation? With an exec? If so there are some notes about making those idempotent on the type reference page: http://docs.puppetlabs.com/references/latest/type.html#exec Have a look at the creates attribute. If it's not an exec, maybe provide some code so people have an