Spruce alternatives and similar tools
Based on the "Cloud Orchestration" category.
Alternatively, view Spruce alternatives based on common mentions on social networks and blogs.
9.8 9.7 Spruce VS etcdDistributed reliable key-value store for the most critical data of a distributed system
9.6 9.9 Spruce VS consulConsul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
9.2 9.9 L2 Spruce VS SaltSoftware to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
8.7 9.9 Spruce VS NomadNomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
7.4 9.8 Spruce VS StackStormStackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, security responses, troubleshooting, deployments, and more. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html. Questions? https://forum.stackstorm.com/.
7.4 9.9 Spruce VS RundeckEnable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
6.5 8.8 L4 Spruce VS BOSHCloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.
6.1 10.0 Spruce VS JujuUniversal Operator Lifecycle Manager (OLM) for Kubernetes operators, and operators for traditional Linux and Windows apps, with declarative integration between operators for automated microservice integration.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Spruce or a related project?
* .---. ,---. ,---. .-. .-. ,--, ,---. * /.\ ( .-._)| .-.\ | .-.\ | | | |.' .') | .-' /.\ /..'\ (_) \ | |-' )| `-'/ | | | || |(_) | `-. /..'\ /'.'\ _ \ \ | |--' | ( | | | |\ \ | .-' /'.'\ /.''.'\ ( `-' ) | | | |\ \ | `-')| \ `-. | `--. /.''.'\ /.'.'.\ `----' /( |_| \)\`---(_) \____\/( __.' /.'.'.\ "'""""/'.''.'.\""'"'""""""(__)""""""""(__)"""""""""""""(__)""'""""/'.''.'.\""'"'" ^^^[_]^^^ ^^^[_]^^^
spruce is a general purpose YAML & JSON merging tool.
It is designed to be an intuitive utility for merging YAML/JSON templates together to generate complicated YAML/JSON config files in a repeatable fashion. It can be used to stitch together some generic/top level definitions for the config and pull in overrides for site-specific configurations to DRY your configs up as much as possible.
How do I get started?
spruce is available via Homebrew, just
brew tap starkandwayne/cf; brew install spruce
Alternatively, you can download a prebuilt binaries for 64-bit Linux, or Mac OS X
How do I compile from source?
- Install Go, e.g. on Ubuntu
sudo snap install --classic go
- Fetch sources via
go get github.com/geofffranks/spruce
- Change current directory to the source root
- Compile and execute tests
Is there a playground I can use before installing spruce?
Yes! play.spruce.cf is around for testing out data merging + transformation in a cleanroom environment. It has a number of spruce versions available to it, and can be used to reproduce/troubleshoot bugs that you're seeing in production. Once you've reproduced an issue, or solution to a problem, you can save it, and share with a colleague, or reference in a GitHub issue.
A Quick Example
# Let's build the first yaml file we will merge $ cat <<EOF first.yml some_data: this will be overwritten later a_random_map: key1: some data heres_an_array: - first element EOF # and now build the second yaml file to merge on top of it $ cat <<EOF second.yml some_data: 42 a_random_map: key2: adding more data heres_an_array: - (( prepend )) - zeroth element more_data: 84 # what happens when we spruce merge? $ spruce merge first.yml second.yml a_random_map: key1: some data key2: adding more data heres_an_array: - zeroth element - first element more_data: 84 some_data: 42
- What are all the spruce operators, and how do they work?
- What are the merge semantics of spruce?
- How can I manipulate arrays with spruce?
- Can I specify defaults for an operation, or use environment variables?
- Can I use spruce with go-patch files?
- Can I use spruce with CredHub?
- Can I use spruce with Vault?
- How can I generate spruce templates with spruce itself?
- How can I use spruce with BOSH's Cloud Config?
What else can Spruce do for you?
spruce doesn't just stop at merging datastructures together. It also has the following
spruce diff - Allows you to get a useful diff of two YAML files, to see where they differ
semantically. This is more than a simple diff tool, as it examines the functional differences,
rather than just textual (e.g. key-ordering differences would be ignored)
spruce json - Allows you to convert a YAML document into JSON, for consumption by something
that requires a JSON input.
spruce merge will handle both YAML + JSON documents, but produce
only YAML output.
spruce vaultinfo - Takes a list of files that would be merged together, and analyzes what paths
in Vault would be looked up. Useful for determining explicitly what access an automated process
might need to Vault to obtain the right credentials, and nothing more. Also useful if you need
to audit what credentials your configs are retrieving for a system..
Licensed under the MIT License
*Note that all licence references and agreements mentioned in the Spruce README section above are relevant to that project's source code only.