Re: [Puppet Users] scope for templates that is called from a class that includes the class that calls the template.

2013-11-28 Thread Felix Frank
Hi, that's interesting indeed. You may have stumbled upon a bug. You could try and search http://projects.puppetlabs.com/issues/ for similar reports. If there is none, feel free to open a new bug and supply your example code. If time allows, I'll look into it over the weekend. Cheers, Felix On

Re: [Puppet Users] Re: Puppet Agent does not connect to master after installing Dashboard

2013-11-28 Thread Felix Frank
Hi, actually, I believe both puppetmaster and dashboard use passenger. The idea behind apache's virtual hosts is that you can have independent sets of configuration applied to different ports, or different IP addresses available on the same server. What you need to do is adding *both* blocks to

Re: [Puppet Users] scope for templates that is called from a class that includes the class that calls the template.

2013-11-28 Thread David Portabella
you are right, someone filled a bug ticket one month ago: http://projects.puppetlabs.com/issues/22800 On Thursday, November 28, 2013 9:32:00 AM UTC+1, Felix.Frank wrote: > > Hi, > > that's interesting indeed. You may have stumbled upon a bug. You could > try and search http://projects.puppetlab

Re: [Puppet Users] Java REST Client to access Puppet API

2013-11-28 Thread Felix Frank
Hi, good thinking, but you do want to add the CA certificate of your master to your keystore. On the agent node, it can be found in {ssldir}/certs/ca.pem. There should be a keytool -importcert or similar option. HTH, Felix On 11/27/2013 01:47 PM, Naveen Desu wrote: > b. Obtained > Signed Cert

[Puppet Users] Re: File handling

2013-11-28 Thread Rahul Khengare
Hi Raj, In puppet you can not declare the same resource twice in a manifests. Workaround, You have to use exec resource which execute the command required for deletion of file Here you have to order all resource like file deletion( exec resource) has to be occurs at the last.. Thanks, Ra

[Puppet Users] puppet in java

2013-11-28 Thread PRAVEEN D
We have bunch or property files(key/value pairs) used in different modules in our java web applicaiton. our applicaiton is also distributed, part of that runs on a head office and some of the parts run at the branch. All the branches run a local server for day to day activities. We are looking

[Puppet Users] Passing an entire directory from the puppet master.

2013-11-28 Thread Waqar Khan
Can someone help, im trying to send an entire directory with its contents to the puppet agent. Here is the init.pp file: class testing { file { "C:/test/": ensure => directory, owner => 'Administrator', group => 'Administrators', mode => '0755', } file { "C:/test/testscript": ensure =>

[Puppet Users] puppet-users-br err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=unknown sta

2013-11-28 Thread Caio Pedroso
Just installed the puppet master server in and the client just installed the puppet I managed to sign the certificates root@Puppetmaster:/etc/puppet# puppet cert --list --all + "puppetclient" (96:9A:C3:8D:B6:72:A4:5F:01:AA:40:A9:95:3E:FB:D2) + "puppetmaster" (12:92:DF:EB:72:E5:DF:99:D8:22:CA:5F:

[Puppet Users] Re: puppet module search using an HTTP proxy

2013-11-28 Thread sradi
I have the same issue: [root@learn puppet]# puppet module install puppetlabs/java Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forge.puppetlabs.com ... Error: Could not connect to https://forge.puppetlabs.com There was a network communicat

Re: [Puppet Users] Re: puppet module search using an HTTP proxy

2013-11-28 Thread Felix Frank
Ad hoc I find at least three bug reports around this issue: http://projects.puppetlabs.com/issues/8281 http://projects.puppetlabs.com/issues/16923 http://projects.puppetlabs.com/issues/19547 Patches are included, try at your own risk. Your mileage may vary, seeing as some of those bugs are old-is

Re: [Puppet Users] puppet in java

2013-11-28 Thread Dan White
How do you currently do this by hand ? Knowing would help in figuring out an answer. On Nov 28, 2013, at 4:28 AM, PRAVEEN D wrote: > We have bunch or property files(key/value pairs) used in different modules in > our java web applicaiton. our applicaiton is also distributed, part of that > run

Re: [Puppet Users] Passing an entire directory from the puppet master.

2013-11-28 Thread Dan White
I hope there are not a lot of files in that directory because I believe you have to manage each one. I could be mistaken, but I do not know of a way to do it. There may be a way to shortcut the operation, but I believe you need a resource declared for every file and directory you want to manage.

Re: [Puppet Users] File handling

2013-11-28 Thread Dan White
You are describing a custom package provider. I use Fedora/CentOS/Red Hat type systems. If I wanted to do what you describe, I’d roll my own RPM. Check this out: https://github.com/jordansissel/fpm/wiki It does several different package types. On Nov 28, 2013, at 2:42 AM, Raj kumar V wrote:

Re: [Puppet Users] Problem with PuppetDB and OpenSSL (solved)

2013-11-28 Thread Matthias Saou
On Wed, 27 Nov 2013 09:48:52 -0700 Deepak Giridharagopal wrote: > On Nov 27, 2013, at 9:11 AM, Jonathan Gazeley > wrote: > > > Hmm, well I removed java-1.6.0-openjdk and installed > > java-1.7.0-openjdk. Reinstalled puppetdb, which pulled > > java-1.6.0-openjdk back in again, so the two javas w

Re: [Puppet Users] Problem with PuppetDB and OpenSSL (solved)

2013-11-28 Thread Ken Barber
Okay, so this problem seems prolific now. Would you mind raising a redmine ticket on this? http://projects.puppetlabs.com/projects/puppetdb On Thu, Nov 28, 2013 at 3:59 PM, Matthias Saou wrote: > On Wed, 27 Nov 2013 09:48:52 -0700 > Deepak Giridharagopal wrote: > >> On Nov 27, 2013, at 9:11 AM

Re: [Puppet Users] Nsclient install

2013-11-28 Thread Felix Frank
Hi, so are the errors disappearing in subsequent agent runs? Thanks, Felix On 11/27/2013 12:53 PM, Jeffrey Smith wrote: > I get the following errors during the initial run -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from th