Hello all,
I'm fairly new to puppet and in the majority a windows shop
I have two questions
1.) As windows syntax is slight different than linux syntax, 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 subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/IUFifHBoo6IJ.
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.