Sincerely,
Pengfei Xue
在 2012-12-17,下午8:03,krishna bhaskara rao <[email protected]> 写道:
> Hi,
>
> I am using below script to move files from puppet master to puppet agent.
> file { "/usr/local/temp":
> ensure => "file",
> source => "puppet:///files/temp",
> mode => 777,
> }
> If I use this script, file always transferring from master to agent.
> But my requirement like, if is there any changes in file then only have to
> transfer file from puppet master to puppet agent.
> Is it possible can you me any as early as possible ?.
i search mail list, and find this, you can add checksum => md5 to your file
resource, this will ask for updating only if the file changed
>
> With Regards,
> Krishna.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/utIvv7HGzuYJ.
> 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.
--
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.