2016-03-01 15:35:34 +00:00
|
|
|
# This file should normally be installed at: /etc/salt/cloud
|
2013-02-20 17:12:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
##########################################
|
2012-05-02 04:00:22 +00:00
|
|
|
##### VM Defaults #####
|
|
|
|
##########################################
|
2013-02-20 17:12:21 +00:00
|
|
|
|
2012-06-23 06:39:38 +00:00
|
|
|
# Set the size of minion keys to generate, defaults to 2048
|
2012-05-02 04:00:22 +00:00
|
|
|
#
|
2013-02-20 17:12:21 +00:00
|
|
|
#keysize: 2048
|
|
|
|
|
|
|
|
|
2013-02-12 14:05:21 +00:00
|
|
|
# Set the default os being deployed. This sets which deployment script to
|
|
|
|
# apply. This argument is optional.
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2013-02-12 14:05:21 +00:00
|
|
|
#script: bootstrap-salt
|
2012-05-02 04:00:22 +00:00
|
|
|
|
2013-02-20 17:12:21 +00:00
|
|
|
|
|
|
|
##########################################
|
|
|
|
##### Logging Settings #####
|
2012-11-15 17:03:25 +00:00
|
|
|
##########################################
|
2013-02-20 17:12:21 +00:00
|
|
|
|
2012-11-15 17:03:25 +00:00
|
|
|
# The location of the master log file
|
|
|
|
#
|
2013-02-20 17:12:21 +00:00
|
|
|
#log_file: /var/log/salt/cloud
|
|
|
|
|
|
|
|
|
2012-11-15 17:03:25 +00:00
|
|
|
# The level of messages to send to the console.
|
|
|
|
# One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2015-09-14 21:39:17 +00:00
|
|
|
# The following log levels are considered INSECURE and may log sensitive data:
|
|
|
|
# ['garbage', 'trace', 'debug']
|
|
|
|
#
|
2012-11-26 03:39:58 +00:00
|
|
|
# Default: 'info'
|
2012-11-15 17:03:25 +00:00
|
|
|
#
|
2013-02-20 17:12:21 +00:00
|
|
|
#log_level: info
|
|
|
|
|
|
|
|
|
2012-11-15 17:03:25 +00:00
|
|
|
# The level of messages to send to the log file.
|
|
|
|
# One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2012-11-26 03:39:58 +00:00
|
|
|
# Default: 'info'
|
2012-11-15 17:03:25 +00:00
|
|
|
#
|
2013-02-20 17:12:21 +00:00
|
|
|
#log_level_logfile: info
|
|
|
|
|
|
|
|
|
2016-02-04 11:45:19 +00:00
|
|
|
# The date and time format used in log messages. Allowed date/time formatting
|
2012-11-15 17:03:25 +00:00
|
|
|
# can be seen here:
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2012-11-15 17:03:25 +00:00
|
|
|
# http://docs.python.org/library/time.html#time.strftime
|
|
|
|
#
|
2013-02-20 17:12:21 +00:00
|
|
|
#log_datefmt: '%Y-%m-%d %H:%M:%S'
|
|
|
|
|
|
|
|
|
2012-11-15 17:03:25 +00:00
|
|
|
# The format of the console logging messages. Allowed formatting options can
|
|
|
|
# be seen here:
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2012-11-15 17:03:25 +00:00
|
|
|
# http://docs.python.org/library/logging.html#logrecord-attributes
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2015-03-26 06:10:55 +00:00
|
|
|
# Console log colors are specified by these additional formatters:
|
|
|
|
#
|
|
|
|
# %(colorlevel)s
|
|
|
|
# %(colorname)s
|
|
|
|
# %(colorprocess)s
|
|
|
|
# %(colormsg)s
|
|
|
|
#
|
|
|
|
# Since it is desirable to include the surrounding brackets, '[' and ']', in
|
|
|
|
# the coloring of the messages, these color formatters also include padding as
|
|
|
|
# well. Color LogRecord attributes are only available for console logging.
|
|
|
|
#
|
2015-07-28 21:54:10 +00:00
|
|
|
#log_fmt_console: '%(colorlevel)s %(colormsg)s'
|
2012-11-15 17:03:25 +00:00
|
|
|
#log_fmt_console: '[%(levelname)-8s] %(message)s'
|
2015-07-28 21:54:10 +00:00
|
|
|
#
|
2016-06-02 15:38:31 +00:00
|
|
|
#log_fmt_logfile: '%(asctime)s,%(msecs)03d [%(name)-17s][%(levelname)-8s] %(message)s'
|
2013-02-20 17:12:21 +00:00
|
|
|
|
|
|
|
|
2012-11-15 17:03:25 +00:00
|
|
|
# Logger levels can be used to tweak specific loggers logging levels.
|
|
|
|
# For example, if you want to have the salt library at the 'warning' level,
|
|
|
|
# but you still wish to have 'salt.modules' at the 'debug' level:
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
2012-11-15 17:03:25 +00:00
|
|
|
# log_granular_levels:
|
|
|
|
# 'salt': 'warning',
|
|
|
|
# 'salt.modules': 'debug'
|
|
|
|
# 'saltcloud': 'info'
|
|
|
|
#
|
|
|
|
#log_granular_levels: {}
|
2013-02-12 14:05:21 +00:00
|
|
|
|
2013-02-20 17:12:21 +00:00
|
|
|
|
|
|
|
##########################################
|
|
|
|
##### Misc Defaults #####
|
|
|
|
##########################################
|
|
|
|
|
2014-11-13 20:59:23 +00:00
|
|
|
# Whether or not to remove the accompanying SSH key from the known_hosts file
|
2013-02-12 14:05:21 +00:00
|
|
|
# when an instance is destroyed.
|
2013-02-20 17:12:21 +00:00
|
|
|
#
|
|
|
|
# Default: 'False'
|
|
|
|
#
|
2013-02-12 14:05:21 +00:00
|
|
|
#delete_sshkeys: False
|
|
|
|
|
2017-06-28 16:07:26 +00:00
|
|
|
# Whether or not to include grains information in the /etc/salt/minion file
|
|
|
|
# which is generated when the minion is provisioned. For example...
|
|
|
|
# grains:
|
|
|
|
# salt-cloud:
|
|
|
|
# driver: ec2
|
|
|
|
# provider: my_ec2:ec2
|
|
|
|
# profile: micro_ec2
|
|
|
|
#
|
|
|
|
# Default: 'True'
|
|
|
|
#
|
|
|
|
#enable_cloud_grains: 'True'
|