Where to find config.rb




















Compass relies on the ruby require mechanism to load other libraries of code. To load a compass-compatible plugin, simply require it at the top of your configuration file. If you used the -r option to access another library at project creation time, this will already be set up for you.

When using the compass command line, configuration options that you set on the command line will override the corresponding settings in your configuration file. When using the compass command line, configuration options that you set on the command line can be inspected within the configuration file. For instance, if you set the environment:. Values that are not set on the CLI will be nil even though they will have a default value later on.

The block must return a string that starts with a protocol E. The block will be passed the root-relative url of the asset. For example, this picks one of four asset hosts numbered , depending on the name of the asset:. By default there is no asset host used. The block must return nil, a string or a hash.

If a string value is returned, it is added as a query string. The returned values for query strings must not include the starting? This can be used to pass the password directly on the command line. If this option is not specified and a password is required knife prompts for the password. Authentication fails if the user name does not match the private key. The following knife cookbook bulk delete settings can be added to the config. The following knife supermarket download settings can be added to the config.

The following knife supermarket install settings can be added to the config. The following knife environment create settings can be added to the config. The following knife environment from file settings can be added to the config.

The following knife node run list remove settings can be added to the config. When a subcommand is run, knife will use: A value passed via the command-line A value contained in the config. Warning Many optional settings should not be added to the config.

The reasons for not adding them can vary. In addition to the default settings in a config. A value passed via the command line overrides a value in the config. Before adding any settings to the config. Some of the optional config. The frequency of use of any option varies from organization to organization, so even though the following settings are often added to a config.

Other SSH-related settings that are sometimes helpful when added to the config. Some organizations choose to have all data bags use the same secret and secret file, rather than have a unique secret and secret file for each data bag. To use the same secret and secret file for all data bags, add the following to config.

The port on which chef-zero is to listen. Default value: The location of the file that contains the client key. The sub-directory for cookbooks on the chef-client. This value can be a string or an array of file system locations, processed in the specified order. The last cookbook is considered to override local modifications.

The minimum required version of data bag encryption. Possible values: 1 or 2. When all of the machines in an organization are running chef-client version Set to true to enable FIPS-validated security. FIPS support is available in Chef client versions The following operating systems are supported:. Run the chef-client in local mode. This allows all commands that work against the Chef server to also work against the local chef-repo.

The name of the node. This may be a username with permission to authenticate to the Chef server or it may be the name of the machine from which knife is run. A comma-separated list of URLs that do not need a proxy. Default value: nil.



0コメント

  • 1000 / 1000