Sha256: 212a7ccb1c71257d59f905093fbf5aa100c15bdd5934515b40c4082818264af3

Contents?: true

Size: 944 Bytes

Versions: 5

Compression:

Stored size: 944 Bytes

Contents

---
title: "Configuration"
weight: 2
anchors:
  - title: "sfn-based"
    url: "#sfn-based"
  - title: "knife-based"
    url: "#knife-based"
---


## Configuration

The configuration location of the `sfn` command is
dependent on the invocation method used. Since the
CLI application can be invoked as a standalone
application, or as a knife subcommand, two styles
of configuration are supported.

### `sfn`-based

Configuration for the `sfn` standalone application
utilizes the bogo-config library. This allows the
configuration file to be defined in multiple formats.
Supported formats:

* Ruby
* YAML
* JSON
* XML

The configuration is contained within a file named
`.sfn`.

### `knife`-based

The `sfn` application includes a plugin for the
[knife][knife] CLI tool. Configuration can be
provided in the `.chef/knife.rb` file and commands
can be accessed via:

~~~
$ knife sparkleformation --help
~~~

[knife]: https://docs.chef.io/knife.html

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sfn-1.1.8 docs/configuration.md
sfn-1.1.6 docs/configuration.md
sfn-1.1.4 docs/configuration.md
sfn-1.1.2 docs/configuration.md
sfn-1.1.0 docs/configuration.md