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'
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
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
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
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 &
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
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
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
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