UTC+10, ganesh634 wrote:
@Reid: Agreed it make sense to reference another resource instead of
path string.
The links you shared are very helpful. Thanks!!!
@Dylan: While going through defined types i came across vhost here:
https://github.com/puppetlabs/puppetlabs-apache/blob/master
idea - they're 1-to-many and many-to-1 relationships - and
probably complicated to make work.
On Wed, Jun 17, 2015 at 7:38 AM, ganesh634 gane...@gmail.com
javascript: wrote:
Pasted below an example relation for new resource say 'new_type'.
file
{ interface
Pasted below an example relation for new resource say 'new_type'.
file
{ interface:
path= /var/tmp/test.txt,
content = template(module/test_template.erb),
notify = new_type['sample'],
}
new_type
Pasted below an example relation for new resource say 'new_type'.
file
{ interface:
path= /var/tmp/test.txt,
content = template(module/test_template.erb),
notify = new_type['sample'],
}
new_type
How can i identify if contents of file are changed or not between
subsequent client run?
Need this information for implementing a new resource type
which will do some processing only if the file content is changed.
The file will be created using template resource type.
Is there any way to