[Puppet Users] Could not retrieve catalog from remote server

2012-08-28 Thread Bai Shen
I'm trying to get puppet to connect to my puppetmaster, but I keep getting the same error. err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed I've made sure ntpd is running during the kickstart and th

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

2012-08-28 Thread Bai Shen
> Have you tried deleting the existing directory of master and agent.. > rm -frv /var/lib/puppet/ssl > > Try this and see if this work!! > > Regards, > Ashish Jaiswal > On Aug 28, 2012 8:58 PM, "Bai Shen" wrote: > >> I'm trying to get puppet to conne

[Puppet Users] Puppet not picking up manifests

2012-08-28 Thread Bai Shen
I created some manifest files, but my client doesn't seem to be picking them up. According to all of the tutorials, I'm doing this right, so I'm not sure what the issue is. nodes.pp: node default { include ntp } ntp.pp: class ntp { package { ntp:

Re: [Puppet Users] Re: Puppet not picking up manifests

2012-08-29 Thread Bai Shen
gt; don't need to do this right now. > > So to get your simple thing working now: > > * rename nodes.pp to site.pp so puppet master will use it > * move ntp.pp to /etc/puppet/modules/ntp/manifests/init.pp > > > On Tuesday, August 28, 2012 1:19:23 PM UTC-7, Bai Shen wrote: >&

[Puppet Users] Puppet java module

2012-08-29 Thread Bai Shen
I'm trying to install the java module using puppet. http://forge.puppetlabs.com/puppetlabs/java I think I'm supposed to download the oracle rpm and extract it somewhere. But where does it go? Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

[Puppet Users] Re: Puppet java module

2012-08-30 Thread Bai Shen
38 PM, Bai Shen wrote: > I'm trying to install the java module using puppet. > > http://forge.puppetlabs.com/puppetlabs/java > > I think I'm supposed to download the oracle rpm and extract it somewhere. > But where does it go? > > Thanks. > -- You received this

[Puppet Users] Puppet file copy

2012-08-31 Thread Bai Shen
I'm trying to install solr using puppet. I have a module installing tomcat. Now I'm trying to make another module that installs the solr files. However, it's not copying the file. Any ideas what I'm doing wrong? init.pp: class solr { file { '/opt/apache-tomcat/conf/Catalina/localhost':

Re: [Puppet Users] Puppet file copy

2012-09-04 Thread Bai Shen
Along with everything else that was pointed out, it turned out that I was using a node with the same name as my module, and therefore it was not being called. On Fri, Aug 31, 2012 at 2:23 PM, Josh Cooper wrote: > On Fri, Aug 31, 2012 at 10:03 AM, Ramin K wrote: > > On 8/31/2012 7:1

[Puppet Users] Module critique

2012-09-04 Thread Bai Shen
I've gotten an install of solr working, but it's pretty much a hack job at the moment. If y'all could give me your thoughts on how to improve my setup, I'd appreciate it. apache-tomcat is an rpm of Tomcat 7 that references the oracle jdk instead of openjdk. Thanks. class solr { service

Re: [Puppet Users] Is there a puppet module for tomcat and apache

2012-09-06 Thread Bai Shen
I was not able to get any of the puppet modules for tomcat to work. I finally ended up rolling my own to use the oracle jdk and tomcat 7. On Wed, Sep 5, 2012 at 10:33 AM, JGonza1 wrote: > Is there a puppet module for tomcat and another one for apache? > > -- > You received this message because

[Puppet Users] Puppet master cert names

2012-09-06 Thread Bai Shen
When I did my initial testing, I was running puppet on a network with an existing dhcp server. The puppet master received it's ip from that server. On the puppet master I ran my own dhcp server with next-server configured to point to the puppet master and to deny unknown hosts. This allowed me t

[Puppet Users] Re: Puppet master cert names

2012-09-06 Thread Bai Shen
Turned out the difference was that I had not configured a domain for the machine. The dhcp server had been providing a domain. Once I added a domain to my machine, everything worked with the static ip. On Thu, Sep 6, 2012 at 9:27 AM, Bai Shen wrote: > When I did my initial testing, I

Re: [Puppet Users] Re: Module critique

2012-09-06 Thread Bai Shen
Thanks for the comments. My responses are below. > class solr { > > > Since Package['apache-tomcat'] is apparently declared in a different > class, your should 'include' that class here. > > Will do. I hadn't thought about that. > > service { 'iptables' : > ensure =>

[Puppet Users] Setting environment variables

2012-09-18 Thread Bai Shen
I need to set some environment variables on some of my systems. How can I do this with puppet? I tried googling but just got results about setting variables in order to get puppet running, not setting them on the clients. Thanks. -- You received this message because you are subscribed to the G

[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] 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