[Puppet Users] Puppet installation

2011-10-06 Thread Ashish
how to install in such non-standard way? Thanks, Ashish -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-user

Re: [Puppet Users] Installing puppet-dashboard on ubuntu precise

2012-08-14 Thread Ashish
-dashboard/script# gem list *** LOCAL GEMS *** daemon_controller (1.0.0) fastthread (1.0.7) passenger (3.0.15) rack (1.1.2, 1.1.0) rake (0.9.2.2) Regards, System Admin Ashish Jaiswal On Wednesday 15 August 2012 10:47:38 AM IST, Sam Morrison wrote: Hi, I'm trying to install dashboard on pr

Re: [Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-19 Thread Ashish
Hi Sam, I would rather suggest uninstalling mod-passenger and then do a fresh install, rather going into all this mess.. Regards, System Admin Ashish Jaiswal On Monday 20 August 2012 07:03:54 AM IST, Sam Morrison wrote: Hi Daniele, Yeah you are probably right. I can't uninstall the

Re: [Puppet Users] Getting issues while separating CA and master servers

2012-08-24 Thread Ashish
Hi, What do you have in your master server puppet.conf, basically it should have these parameter in your master.conf ca=false ca_server=ca.server.name Regards, System Admin Ashish Jaiswal On Friday 24 August 2012 05:34:40 PM IST, liondgr8 wrote: I am trying to setup a different CA_server and

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

2012-08-28 Thread Ashish
Regards, System Admin Ashish Jaiswal On Tuesday 28 August 2012 10:55:14 PM IST, Bai Shen wrote: That didn't seem to help. I got some weird errors about the certs not being able to be signed. I was finally able to get one test run, but after that it went back to giving me the same error.

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

2012-08-28 Thread Ashish
Hi, And see to that you get output while going for this command # dnsdomainname example.com Regards, System Admin Ashish Jaiswal On Wednesday 29 August 2012 04:25:23 AM IST, Nick Fagerlund wrote: Could you please link me to these tutorials, so I may destroy them. Okay, anyway, here'

Re: [Puppet Users] Error 400 on SERVER: Could not write /var/lib/puppet/ssl/ca/requests/agent1.pem to csrdir: undefined method `exists?' for nil:NilClass

2012-08-28 Thread Ashish
uppet root 4096 2012-05-15 01:08 ssl/ You can refer to this link http://projects.puppetlabs.com/projects/1/wiki/certificates_and_security -Ashish On Wednesday 29 August 2012 07:40:06 AM IST, Edward Tuan wrote: Much thanks for your reply. Is this your meaningļ¼š [edward@edward ~]$*cd /var/lib/p

Re: [Puppet Users] Help with puppet

2014-03-31 Thread Ashish
Hello, I have tried and it was working, extend the pp as per your requirements. I haven't set any metaparameter. please add as per your requirements. Let me know if you find any difficulty. # Testing class locate { Exec { path => "/usr/bin:/usr/sbin:/bin:/sbin" } exec { "replace" : c

Re: [Puppet Users] Puppet custom function for arithmetic operation

2014-11-16 Thread Ashish
am, Felix Frank > wrote: > > On 11/08/2014 06:01 AM, Ashish Jaiswal wrote: >> Hi John, >> >> Thanks for the pointer, for workaround I used the inline_template >> function to work. Thanks for the piece of code. I will try this once I >> reach office, that wo

[Puppet Users] Puppet 2.7 issue: Facter value not reflecting in puppet manifest

2012-02-08 Thread Ashish Gupta
-p change d65575bc8f5f root@agent:~# facter change d65575bc8f5f Manually ruby script is running fine on the agent. Rest of the puppet modules are running fine. All the required configs seems to have appropriate value. What am I missing? Any pointer/suggestions would be helpful. Thanks for attention

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Ashish Jaiswal
>>> >> -- >>> >> You received this message because you are subscribed to the Google >>> >> Groups >>> >> "Puppet Users" group. >>> >> To post to this group, send email to puppet-users@google

Re: [Puppet Users] Unable to generate certificate on Puppet Agent through Master

2012-08-28 Thread Ashish Jaiswal
Hi.. Can you check date and time on both master and agent.. it should be in sync with master.. Regards, Ashish Jaiswal On Aug 28, 2012 2:38 PM, "Ajeet Raina" wrote: > Hi, > > I have a puppet master and agent installed. I want to generate and > configure master-agent ce

Re: [Puppet Users] Error 400 on SERVER: Could not write /var/lib/puppet/ssl/ca/requests/agent1.pem to csrdir: undefined method `exists?' for nil:NilClass

2012-08-28 Thread Ashish Jaiswal
Hi, To me it seems to be permission issue on SSL directory on master .. can you let me what is the permission on SSL directory .. This is just a wild guess.. Regards, Ashish Jaiswal On Aug 28, 2012 12:53 PM, "Edward Tuan" wrote: > I've been confused by this question for n

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

2012-08-28 Thread Ashish Jaiswal
Hi,, 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 connect to my puppetmaster, but I keep

Re: [Puppet Users] Identifying file content change in subsequent client run

2014-10-09 Thread Ashish Jaiswal
Hi, You can check for the mtime in file resource. On Friday 10 October 2014 10:50 AM, ganesh634 wrote: How can i identify if the file content is changed in subsequent client run. Need this information for new resource implementation, which will take action only if file contents are modifie

Re: [Puppet Users] Re: Identifying file content change in subsequent client run

2014-10-10 Thread Ashish Jaiswal
Hi, Basically you don't need to cache it, you can store the reports in puppetdb or in filebucket. https://docs.puppetlabs.com/references/3.7.latest/type.html#file-attribute-mtime Or let us know what is your actual goal. You don't want your file to get change, if change (check mtime) then rep

[Puppet Users] Puppet custom function for arithmetic operation

2014-11-07 Thread Ashish Jaiswal
in sysctl.conf file Its just fails, Any pointer what is wrong here ? Regards, Ashish Jaiswal. -- 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

Re: [Puppet Users] Re: Puppet custom function for arithmetic operation

2014-11-07 Thread Ashish Jaiswal
, Ashish Jaiswal wrote: Hello, Just trying to write a custom function. Basically looking to pass an argument from manifest and value should get calculated. module Puppet::Parser::Functions newfunction(:shmmax, :type => :rvalue) do |args| def shmmax(a

Re: [Puppet Users] Re: install directory for package, and other basic questions

2014-11-11 Thread Ashish Jaiswal
Hello, > 3. How to install a package from the tarballs and specify some parameters to the install process? There is already a nice defination called netinstall, I have used it and tweak a lill bit for my enviornment. https://github.com/example42/puppi/blob/master/manifests/netinstall.pp On

Re: [Puppet Users] external facter for datacenter from ipaddress - new to puppet

2014-11-12 Thread Ashish Jaiswal
Hi, This is what you are looking for, I guess. @datacenter.rb require 'facter' Facter.add(:datacenter) do setcode do datacenters = { '10.220' => 'HOUSTON', '10.221' => 'AUSTIN' } ip = Facter.value(:ipaddress) network = datacenters.keys.

Re: [Puppet Users] how to compare facts using variables in a text file

2014-11-19 Thread Ashish Jaiswal
Hi, Just a quick hack. javaversion.rb require 'facter' Facter.add(:is_javaversion) do setcode do a = File.readlines('javaversion.txt').map { |x| x.chomp }.join if Facter.value(:java_known_weblogic_version1) == a true e

Re: [Puppet Users] how to compare facts using variables in a text file

2014-11-19 Thread Ashish Jaiswal
false end end end On Thursday 20 November 2014 09:45 AM, Ashish Jaiswal wrote: Hi, Just a quick hack. javaversion.rb require 'facter' Facter.add(:is_javaversion) do setcode do a = File.readlines('javaversion.txt').map { |x| x.

Re: [Puppet Users] Re: Custom apache module advice needed

2014-11-24 Thread Ashish Jaiswal
Hi, Something like this . $baseos_dir = [ "/opt/", "/opt/bin/", "/opt/other", "/opt/other/src", "/opt/other/nosrc", "/opt/other/downloads", "/opt/other/javalib", "/opt/man", "/opt/man/m

[Puppet Users] lambda with Custom facter

2015-01-14 Thread Ashish Jaiswal
manifests/init.pp:147; cannot redeclare at /home/edp/rpuppet/master/modules/monit/manifests/init.pp:147 at /home/edp/rpuppet/master/modules/monit/manifests/init.pp:147:25 on node example.com Its taking the whole xfs_mounts, which I don't want. Any idea, to achieve this. Thanks, Cheers, Ashi

[Puppet Users] Re: lambda with Custom facter

2015-01-15 Thread Ashish Jaiswal
Hello, Any hint on this ? Thanks. On Wednesday 14 January 2015 05:22 PM, Ashish Jaiswal wrote: Hi, I have a custom facter which spits out like this # facter -p xfs_mounts => ["/docroot", "/ecr", "/intprd", "/mysql"] Now I want to iterate ove

Re: [Puppet Users] Command Exceeded Timeout on Basic Shell Commands

2015-06-16 Thread Ashish Jaiswal
hi, Could you test the same with puppet apply on the client itself On 16 June 2015 at 07:42, Franck wrote: > We've been experiencing a lot of "Command exceeded timeouts" on basic > shell commands using the "exec" type for tasks that should execute fairly > fast: > > Jun 15 15:45:44 host1 puppet