"baldwin" wrote:
I definitely agree that a simple bash script is more than enough for basic deploy - thanks for sharing your shell script. I see you mentioned something about having zip only update changes? Could you provide a little more info on how you implemented that?
And simple is all that's needed in my experience. YAGNI on the rest:
(1) i wouldn't want to crush and optimize images repeatedly; do it right the first time
(2) i'd do that from command line (e.g. `for i in box1 box2; do deploy.sh $i; done`) if i ever needed to do it - which i don't
(3) name-IP mapping has to be done somewhere somehow; i'd do it in /etc/hosts (or even better trust DHCP/DDNS auto) rather than a config file
(4) there is lint for BrightScript?
(5) Oh, only if writing code was so easy that a script to copy template manifest file and create `source` subfolder would increase my productivity 8-)
I understand if you are used to doing things in ruby and it's part of a bigger picture for you though. Me, i am "Simplify, simplify, simplify" kind of guy.
Re update, i probably was about -FS, see older thread
viewtopic.php?f=34&t=65779#p421303