you are supplying entire hash in your defined resource. Missed
it.
If your defined resource would accept: name, iphost and hostname - then
you can use create_resources to define all 3 entry.
On 17 Jan 2014 15:21, Reinaldo Lima reim...@gmail.com javascript:
wrote:
With create_resources
',$netentry)
On 16 Jan 2014 23:47, Nick Cammorato nick.ca...@gmail.com javascript:
wrote:
Your augeas resource is always called hosts_include which is why it's
doing that. Try including the entry[name] in that resource name.
On Jan 16, 2014 4:15 PM, Reinaldo Lima reim...@gmail.com javascript
Nan Liu,
this help me A LOT,
thank you so much!
On Thursday, August 11, 2011 11:11:31 PM UTC-3, Nan Liu wrote:
On Thu, Aug 11, 2011 at 7:19 PM, treydock trey...@gmail.com javascript:
wrote:
Looking up the use of create_resources which is mentioned in the bug
you linked, looks like it's
Hi Everyone,
I'm trying to write a class that put some entries in /etc/hosts file as
follow below:
*class hosts {*
*$netentry = {*
*host01 = { iphost = '192.168.10.1', hostName = host01
},*
*host02 = { iphost = '192.168.10.2', hostName = host02
},*
*