Displaying 1 result from an estimated 1 matches for "puppet8081".
Did you mean:
puppet01
2012 Nov 20
1
Windows Manifest Newline Syntax and Append to file Questions
...how do I
create a new line within a bit of content, e.g. hosts file "for windows not
linux"
e.g.
file {''c:/Windows/System32/drivers/etc/hosts'':
content =>
"127.0.0.1 puppet.office \n
127.0.0.1 puppet8081.office",
}
As it seems to ignore the \n
2.) also can you append to a file, for example your base machines get the
standard host file and futher down the tree it goes it might get host
entries amended to it.
Kind Regards
James
--
You received this message because you are subscri...