Hello.
I think I'm being an idiot (not for the first time), but given the following
hiera paragraph:
directorymap:
www.blah.com:
- source: dodgy-uploaded-jpegs
target: www.blah.com/wp-content/uploads
- source: disturbing-home-videos
target: www.blah.com/wp-content/filth
www.nice-site.co.uk:
- source: kitten-pics
- target: www.nice-site.co.uk/site-content/user-data
What's the least-worst way of extracting that, such that puppet pseudo-code
along the lines of
'ln -s ${site}/${source} ${site}{$target}' would work?
There is likely a Better Way To Do It...
--
John Hawkes-Reed
Systems Administrator. Future Publishing. x 2526
--
Future Publishing Limited (registered company number 2008885) is a wholly owned
subsidiary of Future plc (registered company number 3757874), both of which are
incorporated in England and Wales and share the same registered address at
Beauford Court, 30 Monmouth Street, Bath BA1 2BW.
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed. If
you have received this email in error please reply to this email and then
delete it. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of Future.
The recipient should check this email and any attachments for the presence of
viruses. Future accepts no liability for any damage caused by any virus
transmitted by this email.
Future may regularly and randomly monitor outgoing and incoming emails and
other telecommunications on its email and telecommunications systems. By
replying to this email you give your consent to such monitoring.
*****
Save resources: think before you print.
--
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.