[Puppet Users] Re: How to deploy & excecute script remotely

2013-10-07 Thread jcbollinger
On Saturday, October 5, 2013 3:38:55 AM UTC-5, Raju Patil wrote: > > I have write the below script in puppet language on puppet master. Now > wants to know that, I have to call this script to be excuted from puppet > master on End points. How do I do that ? > In the strictest sense, you *don'

[Puppet Users] Re: How to deploy & excecute script remotely

2013-10-05 Thread Raju Patil
I have write the below script in puppet language on puppet master. Now wants to know that, I have to call this script to be excuted from puppet master on End points. How do I do that ? Class users { file { '/opt/example.sh': ensure => prsent, content => "#!/bin/sh\mkdir /opt/test12

[Puppet Users] Re: How to deploy & excecute script remotely

2013-10-01 Thread jcbollinger
On Monday, September 30, 2013 7:58:16 AM UTC-5, Raju Patil wrote: > > I didnt see "file" resource to deploy the file and then "exec" option on > Puppet master. Is there any plugin I have to installed on Master & then > these two options will be > visible on Puppet master dashboard. Or I have t

Re: [Puppet Users] Re: How to deploy & excecute script remotely

2013-09-30 Thread Rob Reynolds
Raju, Being new to puppet, allow me to suggest the Learning Workshop - https://puppetlabs.com/learn. In conjunection with that, we have a set of free tutorials with a learning VM ( http://docs.puppetlabs.com/learning/ ) that I feel may help alleviate some of these questions. Give that a shot. Th

[Puppet Users] Re: How to deploy & excecute script remotely

2013-09-30 Thread Raju Patil
I didnt see "file" resource to deploy the file and then "exec" option on Puppet master. Is there any plugin I have to installed on Master & then these two options will be visible on Puppet master dashboard. Or I have to do the changes in commandline. Seriousely, not aware which file to edit &

[Puppet Users] Re: How to deploy & excecute script remotely

2013-09-19 Thread Raju Patil
On Thursday, 19 September 2013 18:31:21 UTC+5:30, Raju Patil wrote: > > JuanBrein, > > Can you pls.mention here, what activites do I have to perform on Master & > nodes. > > Will be very helpful. > > Since I really dont know where this > "file" resource to deploy the file and then "exec

[Puppet Users] Re: How to deploy & excecute script remotely

2013-09-19 Thread Raju Patil
JuanBrein, Can you pls.mention here, what activites do I have to perform on Master & nodes. Will be very helpful. Since I really dont know where this "file" resource to deploy the file and then "exec" to execute it: On Monday, 16 September 2013 18:23:18 UTC+5:30, JuanBrein wrote: > No

[Puppet Users] Re: How to deploy & excecute script remotely

2013-09-16 Thread jcbollinger
On Monday, September 16, 2013 1:25:59 AM UTC-5, Raju Patil wrote: > > Hi, > > I am new to Puppet & just had installed Puppet master on Centos.And > manging Linux & Windows nodes, now I would like to deploy and execute > script on one of my Linux Box Remotely from > Puppet Master. > > Appri

[Puppet Users] Re: How to deploy & excecute script remotely

2013-09-16 Thread JuanBrein
Not hard at all... just use "file" resource to deploy the file and then "exec" to execute it: file{ "/path/to/my/script.sh" source => "puppet:///modules/${module_name}/script.sh", mode => 755, } ~> exec { "/path/to/my/script.sh" refreshonly => true, } The important bit here is the ~> . T