But that is how it works.
file{
"/etc/puppet/scripts":
ensure => directory,
owner => "root",
group => "root",
mode => 70oo;
"/etc/puppet/scripts/checkUsers.bash":
owner => "root",
group => "root",
mode => 700,
source => "puppet:///modules/password/checkUsers.bash";
}
exec{ "/etc/puppet/scripts/checkUsers.bash":
user => "root",
logoutput => true,
require => File["/etc/puppet/scripts/checkUsers.bash"];
}
----- mac01 <[email protected]> wrote:
>
> Hi,
>
> How to only execute the script from the server instead of first copying the
> file & then executing the script from puppet ?
>
> Thanks
“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)
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.