Hi,
I am new to Puppet and We are trying to stop and start any one of the
services running on the Puppet master /agent machine.
Here is the Scenario:
1. we have a Jboss service running on Puppet master and I am trying to kill
this service thru puppet.(this service is runnning with my userid)
should
> not be doing that. Please do this correctly by setting up your software as
> a real service and then control it correctly with the "service" resource in
> Puppet.
>
> I strongly suggest you walk through the Puppet tutorials at
> https://puppetlabs.com/learn
real service and then control it correctly with the "service" resource in
> Puppet.
>
> I strongly suggest you walk through the Puppet tutorials at
> https://puppetlabs.com/learn before trying to control your own custom
> applications with it.
>
>
> ❧ Brian Math
f its capabilities and you really should
> not be doing that. Please do this correctly by setting up your software as
> a real service and then control it correctly with the "service" resource in
> Puppet.
>
> I strongly suggest you walk through the Puppet tutorials at
> htt
Hi,
I tried to copy jar files and ESB files from master to Agent.
This is how my init.pp looks like:
class httpd
{
file {
"/home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService-1.0.esb":
ensure => present,
owner => "katusa02",
group => "katusa02",
mode => "0777",
sourc
his correctly by setting up your software as
> a real service and then control it correctly with the "service" resource in
> Puppet.
>
> I strongly suggest you walk through the Puppet tutorials at
> https://puppetlabs.com/learn before trying to control your own custom
>
> "puppet:///$puppetserver/modules/httpd/ParserService-1.0.esb",
>
>
> ❧ Brian Mathis
> @orev
>
>
> On Thu, Jun 26, 2014 at 2:47 PM, Satish Katuru > wrote:
>
>> Hi Brian Mathis,
>>
>> I tired to copy the jar files and Zip files from Master
sudo puppet agent -t --waitforcert=60 (Certificate
has been generated and singed)
Please help me out to resolve this?
Regards,
Sathish.
On Monday, June 30, 2014 12:33:32 PM UTC+5:30, Satish Katuru wrote:
>
> Hi Brian Mathis,
>
> I think no need to put 3 slashes after "puppet&
Yes It is.The file is available in the /modules/httd
On Monday, June 30, 2014 6:12:14 PM UTC+5:30, Martin Alfke wrote:
>
> Hi Brian,
>
> braindead question:
> is a file with name hello in modules/httpd/files/ available??
>
> - Martin
>
>
> On 30 Jun 2014, at 1
e node to be
> /etc/puppet/modules/hello.txt.
> Is the directory /etc/puppet/modules already present? (_on the node_ !!)
>
> - Martin
>
> On 01 Jul 2014, at 08:23, Satish Katuru >
> wrote:
>
> > Yes It is.The file is available in the /modules/httd
> >
Hi,
You were correct.We should put our source files under Files folder.
On Tuesday, July 1, 2014 6:50:02 PM UTC+5:30, jcbollinger wrote:
>
>
>
> On Tuesday, July 1, 2014 3:32:12 AM UTC-5, Satish Katuru wrote:
>>
>> Yes,the folder is present in the Agent machine.Th
Hi,
Please see my init.pp file.
First I am stopping the Jboss server and then deleting few folders,copying
files and then trying to start the service.
When I place file copy statements it is not working. With out file copy
statements I am able to stop the service and start the service.
I am
Hi ,
My init.pp has two service elements like below:
class httpd
{
service{
"startjavaservice.sh":
ensure => "running",
}
service{
"stopjavaservice.sh":
ensure =>"stopped",
}
}
First one is for starting Java service and the second one is for stopping
the same service.
*Problem:*
When it ha
Hi John,
Thanks for your reply.I used metaparmeters to define order of execution and
it is working now.
Regards,
Sathish.
On Thursday, July 3, 2014 8:13:10 PM UTC+5:30, jcbollinger wrote:
>
>
>
> On Wednesday, July 2, 2014 8:33:08 AM UTC-5, Satish Katuru wrote:
>>
>>
&g
Hi,
My init.pp has 4 nodes and I want to control all these 4 nodes from the
Master.I mean to say how to deploy the code in all the nodes from Master?
If I execute Puppet agent -t --waitforcert=60 on Agent machine it reads
init.pp on Master and deploy the code in Agent.
But I can't run this on e
es Mcollective, like Fabric or Ansible. You would just have them
> run the same command you would run to start the agent.
>
> Also once you have a signed cert you don't need to use waitforcert. You
> can just run "puppet agent -t" on the agent host.
>
>
>
> R
Hi,
I linked both Master and Agent machines.But I am unable to see the Agent
process on Agent machine.
Can we have the Agent process on the Agent machine?
I used below command to get the latest code
puppet agent -t --waitforcert=60
When I Execute it every time it would take the code from m
Hi ,
My intention is to deleted the files from Master server once the deployment
is over on agent machines.
How can i achieve this?
Once I execute *puppet agent -t *deployment will be done on agent
machine.After this I wanted to remove files from master server.
Help me out on this?
Sathish.
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
Hi
Here is my flow:
Stop service-->copy required files from Master server-->Start service
Once this is done,I am taking a copy of files on Master Server and removing
the files from original location.
I wanted to add this condition (if files are not there at that location no
need stop and re
Hi ,
I wanted to Install GIT on Linux machine using Puppet.I need step by step
details.So Can any one help me on this?
Where do i download it and where do i need to place these folder...etc
Regards,
Sathish.
--
You received this message because you are subscribed to the Google Groups
"Puppet
eatsheet.pdf and "The
> Trifecta"
>
> “Sometimes I think the surest sign that intelligent life exists elsewhere in
> the universe is that none of it has tried to contact us.” (Bill Waterson:
> Calvin & Hobbes)
>
>
> On Aug 08, 2014, at 07:50 AM, Satish Katu
me out to resolve this?
Satish.
On Tuesday, August 12, 2014 5:51:44 AM UTC+5:30, Vikas Kumar wrote:
>
> Hi Satish,
>
> I would make a local repo and install it from there, just in case my
> server isn't connected to internet. If it is, you need not worry about it.
>
>
Hi,
I want to copy files into agent machine if the directory in Master server
has files?
How to Check whether the directory has files or not?(need to add a
condition)
Sathish.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe f
Hi Vikas,
Please find the below information:
Linux version: *Linux 2.6.32-358.6.2.el6.x86_64 x86_64*
Below is the output for the command
/usr/bin/yum -d 0 -e 0 -y list git
**Note* Red Hat Network repositories are not listed below. You must run
this command as root to access RHN repositori
Hi ,
I wanted to find out whether the directory exists or not in the machine.How
can I do it?
if I do it as below it will create a directory:
File { " /etc/puppet/test":
ensure => "directory",
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" gr
26 matches
Mail list logo