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
the way to apply the above manifest on the agent?
>
you can use/ include module in puppet manifests and run the puppet agent
Refer,
http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html
Thanks,
Rahul Khengare
--
You received this message because you are subscribed
Hi Stuart,
Take a look on reporting facility present in puppet,
http://docs.puppetlabs.com/guides/reporting.html
It might help you.
Thanks,
Rahul Khengare
On Tuesday, November 26, 2013 2:41:01 AM UTC+5:30, Stuart Cracraft wrote:
>
>
> Hi,
>
> I want to report my agent&
Hi Stuart,
You don't have to do /etc/init.d/puppet restart on client machine,
whenever "puppet agent" run/ fetches the catalog from PM using latest
manifests.
Thanks,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
On Tuesday, November 26, 2013 4:17:16 AM UTC+5:30,
agent --server puppetmaster --waitforcert 60 --test --noop
Refer http://docs.puppetlabs.com/learning/agent_master_basic.html for
working of puppet master-agent working.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Thursday, October 31, 2013 2:14:59 AM UTC+5:30
ond).
Refer
http://docs.puppetlabs.com/references/latest/configuration.html#runinterval
Try enabling the runlevel of puppet service ON
# chkconfig puppet on
Hope this will help.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Friday, October 25, 2013 9:32:57 PM UTC+5
ond).
Refer
http://docs.puppetlabs.com/references/latest/configuration.html#runinterval
Try enabling the runlevel of puppet service
# chkconfig puppet --list
Hope this will help.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
--
You received this message because you
or write the conditional
puppet manifests,
1. http://docs.puppetlabs.com/learning/variables.html
2. http://docs.puppetlabs.com/puppet/2.7/reference/lang_conditional.html
Hope this will help to achieve your goal.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Thursday
ve this issue?
>
puppet does not allow you to perform operation on same file twice in
manifests.
You have to do the all operations on single file in one file resource(*Exactly
once*)
> 3. I want to run a script file, which in turn invoke some java class
> files. How to to do it
3.example.com/hosts
- puppet:///modules/baseos/newnode.example.com/hosts
depending upon the node(host) name.
Hope this will solve your problem.
Thanks and Regards,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
--
You received this message because you are subscribed to the Google
Hi Yan,
Can you provide details about your manifests. May be manifests helps us
to find the solution to problem.
Thanks and Regards,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
On Saturday, October 12, 2013 6:22:00 AM UTC+5:30, Yan Xiaofei wrote:
>
> Hello
>
> Af
Hi James,
You can take a look on network modules present on puppet forge,
1. https://forge.puppetlabs.com/adrien/network
2. https://forge.puppetlabs.com/razorsedge/network
hope this will help.
Thanks and Regards,
Rahul Khengare,
NTTDATA OSS Center, Pune, India.
--
You received this message
t; }
>
> }
>
>
If you want to use filesys_group_acl resource multiple times then change
class to defined type.
http://docs.puppetlabs.com/learning/definedtypes.html
I hope this will help.
Thanks and Regards,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
--
You received this
Regards,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
On Tuesday, October 1, 2013 4:05:20 AM UTC+5:30, Thomas wrote:
>
> What is the best way to manage multiple stanza within a config file?
>
> For a splunk configuration file (inputs.conf) I need to manage some thing
> like
>
&g
Have you try adding server parameter as i said in earlier post.
On Thu, Sep 26, 2013 at 2:44 PM, Dilip Varma wrote:
> Hi
>
> *puppetmaster#vim /etc/puppet/puppet.conf*
>
> [main]
> logdir=/var/log/puppet
> vardir=/var/lib/puppet
> ssldir=/var/lib/puppet/ssl
> rundir=/var/run/puppet
> fact
Check the parameter server = puppetmaster.example.org under the [main] section
in puppet.conf file.
Otherwise puppet client trying to connect default host puppet when puppet
agent being kick.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Sunday, January 15, 2012 7
HI Dilip,
Can you provide the puppet,conf file.
Check the parameter server = puppetmaster.example.org under the [main] section
in puppet.conf file. Otherwise puppet client trying to connect
default host puppet when puppet agent being kick.
Thanks and Regards,
Rahul Khengare
On Thursday
) ,
> notify => Service['httpd'] ,
> require => Package['httpd'] ,
> }
>
> The *'/'* is missing in between ${module_name} and ${name}
Thanks and Regards,
Rahul Khengare
--
You received this message because you are subscribed to the Goo
Hi Anup,
For connection refused problem, try turning off your
firewall/iptables using command,
# service iptables stop
Also try disbling the selinux settings in /etc/selinux/config file
SELINUX = disabled
OR
Run command,
# setenforce 0
Thanks and Regards,
Rahul Khengare,
NTT
rb", rather than the expected and desired value
> "apache/etc/httpd/conf.d/ssl.conf.erb".
>
> Here you have syntax problem try,
content => template ( "${module_name}/${name}.erb" ) ,
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
--
name and make ensure =>
present.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Wednesday, September 25, 2013 9:00:54 AM UTC+5:30, LenR wrote:
>
> I need to upgrade a package, but it's later versions are packaged
> differently, can I do something li
,
}
}
node 'bm' inherits 'default' {
}
*params.pp*
class hadoop::params {
$master = $::hostname ? {
default => 'HM',
}
}
Hope this would help.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Tuesday, Septem
Hi Harsh,
Refer *exec* and *shell builtins* sections present in the
http://docs.puppetlabs.com/windows/troubleshooting.html,
This might help troubleshooting your problem.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Tuesday, September 24, 2013 2:20:38 PM UTC+5
://docs.puppetlabs.com/guides/environment.html
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Saturday, September 21, 2013 2:44:41 AM UTC+5:30, Brandon Metcalf wrote:
>
> Am I missing something or is this behavior broken:
>
> $ puppet -V
> 3.2.3
> $ grep envir
Hi Nate,
I think puppet does not provide the support for "chocolatey".
See
http://docs.puppetlabs.com/references/latest/type.html#package-attribute-provider
for
list of available provider which is supported by puppet.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, P
Refer http://docs.puppetlabs.com/puppet/2.7/reference/lang_virtual.html this
for creating and realizing the virtual resource.
Thanks and Regards,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
On Tue, Sep 17, 2013 at 12:29 PM, Martin Alfke wrote:
>
> On Sep 17, 2013, at 8:18 AM,
r disabled)
>
If module A get enable then re-declaration of package[pkg1] resource is
happening. Here you can disable the module B.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
--
You received this message because you are subscribed to the Google Groups
&qu
rts .yml files you can extract the messages you need.
Refer http://docs.puppetlabs.com/guides/reporting.html for details about
report mechanism in puppet.
Thanks and Regards,
Rahul Khengare
NTT DATA OSS Center, Pune, India.
On Monday, September 16, 2013 5:48:24 PM UTC+5:30, Adeel Bhatti wr
/state
directory.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Monday, September 16, 2013 4:27:54 PM UTC+5:30, Adeel Bhatti wrote:
>
> Hi,
> Is it nesseccary to access the client machine and execute the agent
> command manually to take in configuration
save
# service iptables restart
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Saturday, September 14, 2013 3:16:55 AM UTC+5:30, Anup Singh wrote:
>
> I tried my best to follow the instruction given at the following page
> however the result is ZERO for the
.com/puppet/2.7/reference/lang_run_stages.html for
stage resource for classes.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Sunday, September 15, 2013 10:44:17 AM UTC+5:30, chengkai liang wrote:
> Hi All,
>
>I have the following classes define:
Hello Mark,
can you post what is the problem you faced and how you solved, this
will be helpful for community... :)
Thanks and regards,
Rahul Khengare
NTT DATA OSS Center, pune, India.
On 9/14/13, mark bradley wrote:
> Hello Rahul,
>
> I've found the problem -- error on my part
then you can run puppet
agent as,
# puppet agent --test --loadclasses
Can you explain your problem in details like which file is not pick by
puppet. Also give your manifests code.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Friday, September 13, 2013 6:02:26 AM
,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Wednesday, March 9, 2011 4:49:55 AM UTC+5:30, Nitesh wrote:
>
> Hi
> It seems like classes.txt file is not being created when I run puppet
> on my servers.
> I am running puppet without a puppet master. I use subversion
*osfamily *returns
*redhat *or not. Use provider => redhat along with enable property. Thanks
and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Thursday, September 12, 2013 3:54:51 AM UTC+5:30, Forrie wrote:
>
> I've been trying to follow several threads around Googl
called*kickstart,
cobler
*, etc.
Refer following blog link about puppet and operating system installation
relation,
http://puppetlabs.com/blog/your-os-installer-and-you* *
*
*
Thanks and* *regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Thursday, September 12, 2013 1:08:02 AM UTC+5
Hi Manchana,
can you check the *rundir *option in */etc/puppetlabs/puppet/puppet.conf
* file as,
.
*rundir = /var/run/pe-puppet *
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Monday, September 9, 2013 6:53:53 PM UTC+5:30, sandeep kumar wrote:
>
>
Hi Igor,
You can run "sc start MyService" command manually on your machine and
check whether the service run correctly. Also check the environment
parameters are set for that service.
Can you explain your query in more detail manner.
Thanks and Regards,
Rahul Khengare,
NTT DATA
seconds(default is 180),
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Friday, August 30, 2013 2:20:36 AM UTC+5:30, rjbu...@gmail.com wrote:
>
> How do I avoid a situation where all of my Linux servers execute a service
> restart at the same time upon recei
.
You can view facter values using 'facter -p'.
You may look for tag concept it might help.
http://projects.puppetlabs.com/projects/1/wiki/Using_Tags
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Thu, Aug 22, 2013 at 9:09 PM, Ed Young wrote:
> Thanks for
Hi Stuart,
I think you have to downgrade your rubygems version- 2.0.6 and try to
install puppet this might work.
Refer Following link for supported version of ruby,
http://docs.puppetlabs.com/guides/platforms.html#ruby-versions
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS-Center, Pune
check the contents of httpd.conf file before and running
the puppet(use vimdiff command). There may possibility that httpd.conf file
is edited by another service,
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Tuesday, August 20, 2013 6:33:03 AM UTC+5:30, Ed Young
Hi Jan,
This is the problem of postgresql database server. Check postgreSQL
server on your machine working or not.
First start the postgresql server and then try to run puppet enterprise
installation.
Thanks and Regards,
Rahul Khengare
NTT DATA OSS Center Pune, India.**
On Tuesday
e 'xyz' content in all the files present in $file_name array
variables.
Thanks & Regards,
Rahul Khengare,
NTT DATA OSS Center Pune, India.**
On Friday, August 9, 2013 7:36:42 PM UTC+5:30, Matthijs Suringa wrote:
>
> Hi,
>
> I'm, still relatively new to Puppet,
hi hyde,
You don't need to convert facter string into integer before comparing to
integer value, puppet internally take care of it.
I just checked it on open source puppet version - 2.7.12 and puppet
enterprise version - 2.7.
On Monday, August 5, 2013 8:38:09 PM UTC+5:30, hyde wrote:
> It
Hi Ivan,
You can try putting the all file names in array variable and use that
array variable in file resource.
File resource of puppet support array structure. This might work.
On Friday, August 2, 2013 2:09:32 PM UTC+5:30, Ivan Lysov wrote:
>
> Hi All!
>
> I want to grant spetial permission
"maria":
}
I hope this will solve your problem. If i interpreted your query correctly.
Thanks and Regards,
Rahul Khengare.
NTT DATA GTS (OSS centre)
pune
On Tuesday, July 30, 2013 12:08:17 AM UTC+5:30, Stephen Brown II wrote:
>
> Greetings all,
>
> I have a feeling I&
th network
configuration file because of mismatch of line-feed character.
Note : Avoid writing of template files for linux configuration on
windows machine and then copying on linux machine.
On 5/8/13, Rahul Khengare wrote:
> Hi,
>I have two machine named puppetserver and db01 with C
ransferring '*
/etc/sysconfig/network*' file using puppet manifests.
Any pointers or help!!!
Thanks and Regards,
Rahul Khengare
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and
ct working.
Thanks in advance.
Rahul
On Friday, April 12, 2013 6:45:37 PM UTC+5:30, jcbollinger wrote:
>
>
>
> On Thursday, April 11, 2013 1:11:16 PM UTC-5, Rahul Khengare wrote:
>>
>> Hi all,
>> I am writing two modules abc and xyz. In both the modul
Hi all,
I am writing two modules abc and xyz. In both the modules i have to
change common "test.txt" file,here i use template (.erb) file to changing
the contents.
In both abc and xyz the contents of "test.txt" file is different, if i
declare file resource for "test.txt" file in two differe
51 matches
Mail list logo