1
0

cloud 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. # This file should normally be installed at: /etc/salt/cloud
  2. ##########################################
  3. ##### VM Defaults #####
  4. ##########################################
  5. # Set the size of minion keys to generate, defaults to 2048
  6. #
  7. #keysize: 2048
  8. # Set the default os being deployed. This sets which deployment script to
  9. # apply. This argument is optional.
  10. #
  11. #script: bootstrap-salt
  12. ##########################################
  13. ##### Logging Settings #####
  14. ##########################################
  15. # The location of the master log file
  16. #
  17. #log_file: /var/log/salt/cloud
  18. # The level of messages to send to the console.
  19. # One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
  20. #
  21. # The following log levels are considered INSECURE and may log sensitive data:
  22. # ['garbage', 'trace', 'debug']
  23. #
  24. # Default: 'info'
  25. #
  26. #log_level: info
  27. # The level of messages to send to the log file.
  28. # One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
  29. #
  30. # Default: 'info'
  31. #
  32. #log_level_logfile: info
  33. # The date and time format used in log messages. Allowed date/time formatting
  34. # can be seen here:
  35. #
  36. # http://docs.python.org/library/time.html#time.strftime
  37. #
  38. #log_datefmt: '%Y-%m-%d %H:%M:%S'
  39. # The format of the console logging messages. Allowed formatting options can
  40. # be seen here:
  41. #
  42. # http://docs.python.org/library/logging.html#logrecord-attributes
  43. #
  44. # Console log colors are specified by these additional formatters:
  45. #
  46. # %(colorlevel)s
  47. # %(colorname)s
  48. # %(colorprocess)s
  49. # %(colormsg)s
  50. #
  51. # Since it is desirable to include the surrounding brackets, '[' and ']', in
  52. # the coloring of the messages, these color formatters also include padding as
  53. # well. Color LogRecord attributes are only available for console logging.
  54. #
  55. #log_fmt_console: '%(colorlevel)s %(colormsg)s'
  56. #log_fmt_console: '[%(levelname)-8s] %(message)s'
  57. #
  58. #log_fmt_logfile: '%(asctime)s,%(msecs)03d [%(name)-17s][%(levelname)-8s] %(message)s'
  59. # Logger levels can be used to tweak specific loggers logging levels.
  60. # For example, if you want to have the salt library at the 'warning' level,
  61. # but you still wish to have 'salt.modules' at the 'debug' level:
  62. #
  63. # log_granular_levels:
  64. # 'salt': 'warning',
  65. # 'salt.modules': 'debug'
  66. # 'saltcloud': 'info'
  67. #
  68. #log_granular_levels: {}
  69. ##########################################
  70. ##### Misc Defaults #####
  71. ##########################################
  72. # Whether or not to remove the accompanying SSH key from the known_hosts file
  73. # when an instance is destroyed.
  74. #
  75. # Default: 'False'
  76. #
  77. #delete_sshkeys: False
  78. # Whether or not to include grains information in the /etc/salt/minion file
  79. # which is generated when the minion is provisioned. For example...
  80. # grains:
  81. # salt-cloud:
  82. # driver: ec2
  83. # provider: my_ec2:ec2
  84. # profile: micro_ec2
  85. #
  86. # Default: 'True'
  87. #
  88. #enable_cloud_grains: 'True'