pch / welder Goto Github PK
View Code? Open in Web Editor NEW👨🏭Set up your Linux server with plain shell scripts
License: MIT License
👨🏭Set up your Linux server with plain shell scripts
License: MIT License
I have a setup script which defines set -xeu
. That script is to be run on a remote on which Fish is the default shell (it has bash). I get:
set: Variable can't be both exported and unexported
Standard input: set -xue # 'u' will give you warnings on unbound config variables
^
set -- display and change shell variables.
Synopsis
set [SCOPE_OPTIONS]
set [OPTIONS] VARIABLE_NAME VALUES...
set [OPTIONS] VARIABLE_NAME[INDICES]... VALUES...
set ( -q | --query ) [SCOPE_OPTIONS] VARIABLE_NAMES...
set ( -e | --erase ) [SCOPE_OPTIONS] VARIABLE_NAME
set ( -e | --erase ) [SCOPE_OPTIONS] VARIABLE_NAME[INDICES]...
set: Type “help set” for related documentation
This is clearly Fish's set
and not Bash's set
being used. My setup.sh
defines a hash bang like so on the first line #!/bin/bash
.
I'm using an (empty) sudo password.
Initially, Ruby dependency was intended just as a convenient way to parse YAML. But if there's a better way to solve it without enforcing Ruby, I'll be happy to consider. Liquid also shouldn't be required if there's no *.liquid
templates in the project directory.
I'll be happy to accept a PR that makes those dependencies optional.
When running welder run <my-playbook>
I get:
[FAIL] No /opt/welder/<my-playbook>.yml file found
I've installed welder as per instructions. Welder is looking in the installation root for the playbook file.
The code responsible seems to be located here: https://github.com/pch/welder/blob/master/libexec/welder-run#L12. I believe the $WELDER_ROOT
variable shouldn't be there.
While it is very uncommon to have ssh on different port, I believe it would be a great addition for
Let me know if this makes sense to you. I'd be more than happy to submit a PR for this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.