Greetings, all,
I've looked around some at the puppet code, and naturally tried google, but
I don't see a solution to my configuration problem. (I'm an absolute ruby
noob, however, so the answer may be starting at me; I just don't see it.)
I'd like to use puppet to maintain the configuration of the Sybase
Interfaces file on a number of my servers.
The format of an interfaces entry is like so:
SybaseInstance
master tcp ether 10.255.1.14 5000
query tcp ether 10.255.1.14 5000
The variable parts being the Instance Name, the IP Address, and the port.
The file is just a plain, old text file.
All the examples I can find show how to manage a file where the records are
a single line long, and it isn't clear to me how to cope with a three, (or
four, if you wanted to count the optional blank line following), line
record.
I believe I need to implement a type and a provider in order to accomplish
managing these files, but I'm coming up short in being able to deal with a
file formatted this way. If anyone had any insights, or even actual *code*,
they'd be willing to share I'd be most appreciative.
Thanks,
Karl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
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
-~----------~----~----~----~------~----~------~--~---