[Puppet Users] Re: Regarding Puppet Agent process on Agent Machine

2014-07-09 Thread Satish Katuru
Thanks John for your reply.Now I am able to see the Puppet agent process on the machine. Satish. On Tuesday, July 8, 2014 6:35:37 PM UTC+5:30, jcbollinger wrote: On Tuesday, July 8, 2014 3:47:25 AM UTC-5, Satish Katuru wrote: Hi, I linked both Master and Agent machines.But I am unable

[Puppet Users] How to read the files of puppet agent.

2014-07-09 Thread shashank sinha
Hi, I have written a code on template to open read file i.e passwd but it reads the file from the puppet server (Master-node) rather I want to read the file of each agent-nodes. Is it possible to read files from the agent node or to copy the files from agent to master? Thanks Shashank --

Re: [Puppet Users] PuppetDB 2.1.0 final now available

2014-07-09 Thread Nikola Petrov
On Tue, Jul 08, 2014 at 06:38:53PM +0100, Ken Barber wrote: ** Final Release ** PuppetDB 2.1.0 final - July 8th, 2014. PuppetDB 2.1.0 Downloads Available in native package format in the release repositories at: http://yum.puppetlabs.com and

[Puppet Users] Re: How to read the files of puppet agent.

2014-07-09 Thread Martijn
Shashank, The templates are compiled on the master but can incorporate data sent to it from several sources, such as built-in facts, custom facts and exported resources. Copying files from node to master isn't possible in the manner that you want. I suppose in this case setting a custom fact

[Puppet Users] Puppet pulling Apache Karaf's strings...

2014-07-09 Thread Gavin Williams
Morning all I've started working on a project that requires Puppet to pull strings on Apache Karaf[1]. This module can be found here[2]. Currently the module supports installation of Karaf, base level configuration such as adding Karaf to $PATH, and creation of a init.d service using the

[Puppet Users] Re: Puppet-Dashboard All Nodes Unresponsive, Background Tasks

2014-07-09 Thread Ximena Cardinali
Hello, I had to apply also this other Solution: mysql describe report_logs; +---+--+--+-+-++ | Field | Type | Null | Key | Default | Extra | +---+--+--+-+-++ | id|

[Puppet Users] Issue with Role-Profile implementation

2014-07-09 Thread Varun Utagikar
Hello I am trying to implement role-profile structure . I have referred below mentioned docs/links : https://ask.puppetlabs.com/question/1655/an-end-to-end-roleprofile-example-using-hiera/ https://projects.puppetlabs.com/issues/16667 I have hit a brick wall. I am trying to pull a file on an

[Puppet Users] Puppet uses catalog of node B for node A

2014-07-09 Thread Helmut Rickel
Hello, I installed puppet 2.6.17, 3.4.3 and finally 3.6.2 on SLES 11 SP1 or SLES 11 SP3 and always ran in this problem: Puppet is using the wrong catalog on some nodes. I can run „puppet agent –t“ many times on node A without problems. When I run „puppet agent –t“ on node B and afterwards

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread jcbollinger
On Tuesday, July 8, 2014 10:22:41 AM UTC-5, Kim Scarborough wrote: Hmm. I don't believe mount will do what I want, as every server has different NFS mounts I need to modify. Can I say modify every NFS mount so that it's nosuid without actually specifying the mountpoints? No, you cannot

Re: [Puppet Users] Issue with Role-Profile implementation

2014-07-09 Thread Daniel De Marco
Varun, the files directory under siler should be named files, not file. Daniel. * Varun Utagikar varun.utagi...@gmail.com [07/09/2014 08:30]: Hello I am trying to implement role-profile structure . I have referred below mentioned docs/links :

[Puppet Users] how to change root password for all nodes

2014-07-09 Thread mahesh vijapure
I want to update root password for all vms registered with Puppet. Please someone assist me here. -- 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] Re: how to change root password for all nodes

2014-07-09 Thread mahesh vijapure
Please tell me any puppet module that can automatically resets the root password when they are 60 days old, and stores the new password in a central encrypted location Thanks in advance for all your valuable inputs. On Wednesday, July 9, 2014 8:51:30 PM UTC+5:30, mahesh vijapure wrote: I want

[Puppet Users] Re: how to change root password for all nodes

2014-07-09 Thread mahesh vijapure
Please tell me any puppet module that can automatically resets the root password when they are 60 days old, and stores the new password in a central encrypted location Thanks in advance for all your valuable inputs. On Wednesday, July 9, 2014 8:51:30 PM UTC+5:30, mahesh vijapure wrote: I want

Re: [Puppet Users] Re: how to change root password for all nodes

2014-07-09 Thread Doug Forster
Mahesh, While your setup may vary I cannot think of an easy way to accomplish all your goals. Goals: 1 Change when 60 days old 2 Each server gets a unique 3 Passwords are encrypted en escrow Something we do is setup a user definition with a shared root password hash stored in hiera. We then

Re: [Puppet Users] Re: Puppet-Dashboard All Nodes Unresponsive, Background Tasks

2014-07-09 Thread Ramin K
It looks like you did this command 'alter table report_logs column message mediumtext;' rather than varchar(65536). mediumtext is what it should be changed to. Both BLOB and TEXT are 64kb while MEDIUMTEXT is 16MB. Ramin On 7/9/2014 4:48 AM, Ximena Cardinali wrote: Hello, I had to apply

Re: [Puppet Users] how to change root password for all nodes

2014-07-09 Thread Garrett Honeycutt
On 7/9/14, 11:21 AM, mahesh vijapure wrote: I want to update root password for all vms registered with Puppet. Please someone assist me here. Hi Mahesh, You can use my common[1] module. It is safe to include as it takes no action unless enabled in Hiera. You can leverage Hiera to set the

[Puppet Users] Re: Puppet uses catalog of node B for node A

2014-07-09 Thread jcbollinger
On Wednesday, July 9, 2014 3:08:58 AM UTC-5, Helmut Rickel wrote: Hello, I installed puppet 2.6.17, 3.4.3 and finally 3.6.2 on SLES 11 SP1 or SLES 11 SP3 and always ran in this problem: Puppet is using the wrong catalog on some nodes. I can run „puppet agent –t“ many times on node A

[Puppet Users] Hiera command and check classes for the nodes

2014-07-09 Thread mike
Hello, I have Puppet and Hiera for in my configuration and i have the next question: when i define some node use the particular class declared inside fqdn/node.example.com.yaml and after check with hiera command the classes for this node and list only the class declared inside

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread Kim Scarborough
No, you cannot do that via Mount resources. Instead, the idiomatic approach here would be to put each mount for each server under individual Puppet management. If you wished, you could also use the Resources resource to purge Mounts that Puppet is not otherwise managing, so that you

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread Pete Brown
On 10 July 2014 04:55, Kim Scarborough chow...@gmail.com wrote: No, you cannot do that via Mount resources. Instead, the idiomatic approach here would be to put each mount for each server under individual Puppet management. If you wished, you could also use the Resources resource to purge

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread Kim Scarborough
My Augeas approach works, I'm just having the one problem where I can't get it to apply to more than one mount line per run. It might work but it is probably better to manage the whole mount with puppet. I have hundreds of servers, many with several NFS mounts, and neither the

[Puppet Users] Re: Implicit conversion of string to integer error with ec2_userdata

2014-07-09 Thread mhoey
Here is the function. Some identifying characters were removed but I think overall it's fine. The library file (ops/vault) has a lot of proprietary stuff in it and let me just say it works perfectly fine so I really don't think that's the problem. The call in the puppet manifest looks like

Re: [Puppet Users] Editing fstab with Augeas

2014-07-09 Thread Pete Brown
On 10 July 2014 09:18, Kim Scarborough chow...@gmail.com wrote: My Augeas approach works, I'm just having the one problem where I can't get it to apply to more than one mount line per run. It might work but it is probably better to manage the whole mount with puppet. I have hundreds of

Re: [Puppet Users] Issue with Role-Profile implementation

2014-07-09 Thread Varun Utagikar
Hey Daniel I was performing several changes to trouble shoot the issue , some where i must have renamed the dir to file , here's my o/p after reverting to the mentioned 'files' change : /etc/puppet/ ├── auth.conf ├── environments │ └── example_env │ ├── manifests │ ├── modules │

[Puppet Users] Re: Issue with Role-Profile implementation

2014-07-09 Thread Varun Utagikar
Adding to my below post , I would like to inform that I upgraded the kernel to CentOS 6.5 X86_64 [root@puppet ~]# uname -a Linux puppet.xoriant.in 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Issue still persists On Wednesday, 9 July 2014

Re: [Puppet Users] Re: how to change root password for all nodes

2014-07-09 Thread John Warburton
On 10 July 2014 01:53, mahesh vijapure maheshvijapur...@gmail.com wrote: Please tell me any puppet module that can automatically resets the root password when they are 60 days old, and stores the new password in a central encrypted location Thanks in advance for all your valuable inputs. I

[Puppet Users] puppet + passenger + separate CA

2014-07-09 Thread brijesh
Hi I hope someone can help me here. I am having problem setting up latest puppet with passenger. I have set up puppet master on two servers one with ca authority and one with serving classes. It works fine as far as the Cerificate signing goes i.e i can see the certificate request comes to CA