[Puppet Users] Accessing attribute value of defined in a resource in another resource implementation

2015-06-17 Thread ganesh634
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

[Puppet Users] Re: Identifying file content change in subsequent client run

2014-10-09 Thread ganesh634
+5:30, ganesh634 wrote: > > > > How can i identify if the file content is changed in subsequent client run. > Need this information for new resource implementation, which will take > action > only if file contents are modified. > The file will be created on client using t

[Puppet Users] Identifying file content change in subsequent client run

2014-10-09 Thread ganesh634
How can i identify if the file content is changed in subsequent client run. Need this information for new resource implementation, which will take action only if file contents are modified. The file will be created on client using template resource. Is there a way to cache information of previo