[Puppet Users] Connectivity issues puppet hosted in ec2 instance to another Appserver on ec2 after restart

2013-09-13 Thread Srinivas Rao
Existing configuration - Puppet is running on AWS EC2 machine A and its deploying package on AWS EC2 Appserver machine B its working fine before restart. - After restart of Appserver machine B its name changed to machine C after this reboot machine stopped working Is there any

[Puppet Users] Failed to apply catalog: Netowork is unreachable - connect(2)

2013-09-13 Thread Anup Singh
I tried my best to follow the instruction given at the following page however the result is ZERO for the last two months. I am spending much of my time hitting the wrong corner and it looks like no one know the right answer to the puppet problems. Installing and configuring puppet is a tough job

Re: [Puppet Users] Distributing files from varied sources to a common location on the clients

2013-09-13 Thread Chad Huneycutt
The first question is why can't you manage everything in /opt/local/scripts with puppet? But assuming that you have to do it the way you describe, here is a terrible solution: manage subdirectories of /opt/local/scripts (e.g., /opt/local/scripts/Common, /opt/local/scripts/redhat). Then you can ha

[Puppet Users] Re: Nagios Puppet Module - Multiple Service File Permissions Issues

2013-09-13 Thread phundisk
Ah this is brilliant. Works like a charm. Once again John, you have enlightened me more about Puppet. On Thursday, September 12, 2013 1:51:40 PM UTC-4, jcbollinger wrote: > > > > On Wednesday, September 11, 2013 2:59:22 PM UTC-5, phundisk wrote: >> >> I am using the nagios puppet module to crea

Re: [Puppet Users] Re: hostname appears in classes.txt

2013-09-13 Thread mark bradley
Hello Rahul, I've found the problem -- error on my part :( Thanks for the suggestions anyway .. Mark On Fri, Sep 13, 2013 at 9:31 AM, mark bradley wrote: > Hi Rahul, > > Thanks for the reply! > > First of all, the problem is that the class that the node belongs to isn't > being "realized" (t

[Puppet Users] Distributing files from varied sources to a common location on the clients

2013-09-13 Thread root
Very new to Puppet. Tried various ways to do this and I'm not particularly happy with any of them. Say I have a common scripts file on my clients: /opt/local/scripts. I want to store the master version of these files in a directory tree on my Puppet Master. Something like this under the

Re: [Puppet Users] Re: Puppet ignores hiera completely

2013-09-13 Thread Guy Knights
Ahit all becomes clear. I was confused because as I understood it, if I defined the classes in hiera then puppet would just apply them. I went back through the docs and found this: http://docs.puppetlabs.com/hiera/1/puppet.html#assigning-classes-to-nodes-with-hiera-hierainclude. I changed m

Re: [Puppet Users] [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-13 Thread Josh Cooper
On Fri, Sep 13, 2013 at 6:23 AM, cko wrote: > Hi, > > i recently updated our windows 2008 r2 servers to puppet 3.3.0 . > > Im getting the following error* (only on our exchange 2010 db servers)*ever > since: > > LevelMessageSourceFileLineTimeerrCould not retrieve local facts: > undefined method

[Puppet Users] enablerepo option

2013-09-13 Thread puppetstan
Hi I would like to use enablerepo option for activate repo and verify package latest version my manifest : package { "fusioninventory-agent": ensure => latest, enablerepo => [ "epel", "remi" ]; } there this patch : http://projects.puppetlabs.com/issues/2247 but it does not work in my configu

Re: [Puppet Users] Re: Is it possible to install actual OS using puppet?

2013-09-13 Thread jcbollinger
On Thursday, September 12, 2013 7:49:19 PM UTC-5, Rich Siegel wrote: > > So I have done a full os install using baremetal on a seemingly harder > platform- windows. > > https://github.com/rismoney/puppet-baremetal-windows > > Now windows has a lot of nuances so it should be easier in theory to d

[Puppet Users] Re: run module although with time condition, but also possibilty execute even so not in that time frame

2013-09-13 Thread Andreas Dvorak
Great John, the command puppet agent --ignoreschedules --tags copy_file is working and exactly what I need. Thank you very much. Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

[Puppet Users] Re: Solaris useradd uses /export/home and not /home

2013-09-13 Thread jcbollinger
On Friday, September 6, 2013 6:43:27 AM UTC-5, Andreas Dvorak wrote: > > class admin_user::add { >define useradd ( $name, $uid, $group, $gid, $password, $shell, > $sshkeytype, $sshkey) { > $homedir = "/home" > $username = $title > > user { $username: > ensure => pr

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-13 Thread jcbollinger
On Friday, September 13, 2013 3:12:20 AM UTC-5, Andreas Dvorak wrote: > > I forgot: Yes the init.pp file is the one I use. > And you can confirm that by changing that user declaration and seeing the corresponding change in the catalog delivered to the client? If the User declaration you are l

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-13 Thread Andreas Dvorak
Hi John, the catalog file in RH6 is fine with "home":"/home/user1" and the user is created in /home/user1 That problem seems to be complicate. Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop re

[Puppet Users] ParsedFile with Header & Trailer - Stored Resources Configuration

2013-09-13 Thread Felix Hartung
Hello dear Community, I am now working for a while on a distributed DNS Module. The concept is that there are two Root-DNS servers in an enterprise environemnt and as much decentral Servers as you want. Puppet should automatically generate TSIG Secrets, push the secrets and their own hostname

Re: [Puppet Users] Re: error on puppet master after update to 3.3.0

2013-09-13 Thread Ken Barber
Someone on IRC had this earlier. See: http://projects.puppetlabs.com/issues/22530 I've escalated it to the core dev team also. ken. On Fri, Sep 13, 2013 at 3:16 PM, Robert Rolfe wrote: > It's not just you, I am working on the exact same problem. 2.7.20 agents > running against a 3.3.0 master

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-13 Thread jcbollinger
On Friday, September 13, 2013 3:10:10 AM UTC-5, Andreas Dvorak wrote: > > Hi John, > > I can see that it does use the provider user_role_add, but there seems to > be a problem. > > Debug: /User[user1]: Provider user_role_add does not support features > libuser; not managing attribute forcelocal

[Puppet Users] Re: error on puppet master after update to 3.3.0

2013-09-13 Thread Robert Rolfe
It's not just you, I am working on the exact same problem. 2.7.20 agents running against a 3.3.0 master and getting the same errors. It looks like all of the agents are getting and applying the configurations properly, however the reports they are sending back are not acceptable to the master.

[Puppet Users] Re: run module although with time condition, but also possibilty execute even so not in that time frame

2013-09-13 Thread jcbollinger
On Friday, September 13, 2013 5:16:06 AM UTC-5, Andreas Dvorak wrote: > > Hi, > > now I have used the "schedule" successfully. > But I don't understand the method to override the schedule completely. Is > it true that I have to change vom node.pp file from > node 'vm6741.muc.baag' inherits base

[Puppet Users] error on puppet master after update to 3.3.0

2013-09-13 Thread Leonid Flaks
Hi! After update puppet master to version 3.3.0 I see following errors every time the agent runs: puppet-master[2649]: Not Acceptable: No supported formats are acceptable (Accept: yaml, b64_zlib_yaml, raw) My clients run puppet 2.6.18 - the standard version for Scientific Linux 6x and 3.1.1 - t

[Puppet Users] Re: Puppet ignores hiera completely

2013-09-13 Thread jcbollinger
Guy, On Thursday, September 12, 2013 12:02:36 PM UTC-5, I wrote: > > [...] > Are you anywhere instructing Puppet to include the classes listed in your > hiera data in the catalog? > > If the answer is yes, then you did not include that information with the configs you posted. The needed declar

Re: [Puppet Users] Re: hostname appears in classes.txt

2013-09-13 Thread mark bradley
Hi Rahul, Thanks for the reply! First of all, the problem is that the class that the node belongs to isn't being "realized" (that is, files that are installed on other nodes of that class aren't being installed on this problematic node). Also, I cannot find the --loadclasses option in http://doc

Re: [Puppet Users] Re: Puppet ignores hiera completely

2013-09-13 Thread jcbollinger
On Thursday, September 12, 2013 1:07:12 PM UTC-5, Guy Knights wrote: > > Actually, one thing I've noticed while trying to troubleshoot this issue > is that I can't see any evidence that puppet agent is using the environment > specified in its config file. If I run puppet agent with the --debug

[Puppet Users] [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-09-13 Thread cko
Hi, i recently updated our windows 2008 r2 servers to puppet 3.3.0 . Im getting the following error* (only on our exchange 2010 db servers)*ever since: LevelMessageSourceFileLineTimeerrCould not retrieve local facts: undefined method `gsub' for nil:NilClassPuppet13.09.2013 15:12 CESTerrFailed

[Puppet Users] Re: How to create a simple, custom type?

2013-09-13 Thread jcbollinger
On Thursday, September 12, 2013 5:36:35 PM UTC-5, Jeremy Martini wrote: > > On my file system, I have a classpath.txt file, which contains a java > classpath. The classpath contains wildcards, and I need to remove the > wildcards, and have it expanded out to list out all the .jar files > indiv

[Puppet Users] Re: hostname appears in classes.txt

2013-09-13 Thread Rahul Khengare
Hi Mark, The classes.txt file contains all the classes which is to be executed on agent. It also contains hostname. So the hostname in classes.txt file is not a problem. Check out the classes present in your manifests which is to be apply on agent are present in classes.txt. If not present t

[Puppet Users] Re: classes.txt missing

2013-09-13 Thread Rahul Khengare
Hi Nitesh, I think the vardir variable is missing in your puppet.conf file. In Puppet.conf you have to specify the *vardir* variable path and after running the puppet manifests you can check the classes.txt file in /var/lib/puppet/ directory. vardir = /var/lib/puppet/ Thanks and Regards, R

[Puppet Users] Re: run module although with time condition, but also possibilty execute even so not in that time frame

2013-09-13 Thread Andreas Dvorak
Hi, now I have used the "schedule" successfully. But I don't understand the method to override the schedule completely. Is it true that I have to change vom node.pp file from node 'vm6741.muc.baag' inherits base { $motd_function = "Puppet Agent" $motd_environment = "Test" $motd_descript

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-13 Thread Andreas Dvorak
I forgot: Yes the init.pp file is the one I use. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-13 Thread Andreas Dvorak
Hi John, I can see that it does use the provider user_role_add, but there seems to be a problem. Debug: /User[user1]: Provider user_role_add does not support features libuser; not managing attribute forcelocal I get the same message when I run it on RedHat 6. In the catalog file I find this {