2016-09-30 00:55:32 +00:00
|
|
|
# The top level settings are used as module
|
|
|
|
# and system configuration.
|
|
|
|
|
|
|
|
# A set of users which may be applied and/or used by various modules
|
|
|
|
# when a 'default' entry is found it will reference the 'default_user'
|
|
|
|
# from the distro configuration specified below
|
2012-09-23 00:06:28 +00:00
|
|
|
users:
|
|
|
|
- default
|
|
|
|
|
2016-09-30 00:55:32 +00:00
|
|
|
# If this is set, 'root' will not be able to ssh in and they
|
|
|
|
# will get a message to login instead as the above user (fedora).
|
|
|
|
disable_root: true
|
|
|
|
|
|
|
|
# This will cause the set+update hostname module to not operate (if true)
|
|
|
|
preserve_hostname: false
|
2011-09-23 17:44:26 +00:00
|
|
|
|
|
|
|
mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
|
2011-10-05 18:31:19 +00:00
|
|
|
ssh_deletekeys: 0
|
2011-09-23 23:36:24 +00:00
|
|
|
ssh_genkeytypes: ~
|
2011-09-23 23:31:33 +00:00
|
|
|
syslog_fix_perms: ~
|
2011-09-23 17:44:26 +00:00
|
|
|
|
2016-09-30 00:55:32 +00:00
|
|
|
# Example datasource config
|
|
|
|
# datasource:
|
|
|
|
# Ec2:
|
|
|
|
# metadata_urls: ['blah.com']
|
|
|
|
# timeout: 5 # (defaults to 50 seconds)
|
|
|
|
# max_wait: 10 # (defaults to 120 seconds)
|
|
|
|
|
|
|
|
# The modules that run in the 'init' stage
|
2011-09-23 17:44:26 +00:00
|
|
|
cloud_init_modules:
|
2013-09-25 00:43:15 +00:00
|
|
|
- migrator
|
2016-07-07 01:38:38 +00:00
|
|
|
- seed_random
|
2011-09-23 17:44:26 +00:00
|
|
|
- bootcmd
|
2016-07-07 01:38:38 +00:00
|
|
|
- write_files
|
2013-09-25 00:43:15 +00:00
|
|
|
- growpart
|
2011-09-23 17:44:26 +00:00
|
|
|
- resizefs
|
2016-09-30 00:55:32 +00:00
|
|
|
- disk_setup
|
|
|
|
- mounts
|
2011-09-23 17:44:26 +00:00
|
|
|
- set_hostname
|
2012-09-23 00:06:28 +00:00
|
|
|
- update_hostname
|
|
|
|
- update_etc_hosts
|
2011-09-23 17:44:26 +00:00
|
|
|
- rsyslog
|
2012-09-23 00:06:28 +00:00
|
|
|
- users-groups
|
2011-09-23 17:44:26 +00:00
|
|
|
- ssh
|
|
|
|
|
2016-09-30 00:55:32 +00:00
|
|
|
# The modules that run in the 'config' stage
|
2011-09-23 17:44:26 +00:00
|
|
|
cloud_config_modules:
|
|
|
|
- locale
|
|
|
|
- set-passwords
|
2013-09-25 02:15:21 +00:00
|
|
|
- yum-add-repo
|
2016-09-30 00:55:32 +00:00
|
|
|
- ntp
|
2011-09-23 17:44:26 +00:00
|
|
|
- timezone
|
|
|
|
- disable-ec2-metadata
|
|
|
|
- runcmd
|
|
|
|
|
2016-09-30 00:55:32 +00:00
|
|
|
# The modules that run in the 'final' stage
|
2011-09-23 17:44:26 +00:00
|
|
|
cloud_final_modules:
|
2016-09-30 00:55:32 +00:00
|
|
|
- package-update-upgrade-install
|
|
|
|
- puppet
|
|
|
|
- chef
|
|
|
|
- salt-minion
|
|
|
|
- mcollective
|
2011-09-23 17:44:26 +00:00
|
|
|
- rightscale_userdata
|
2016-07-07 01:38:38 +00:00
|
|
|
- scripts-vendor
|
2011-09-23 17:44:26 +00:00
|
|
|
- scripts-per-once
|
|
|
|
- scripts-per-boot
|
|
|
|
- scripts-per-instance
|
|
|
|
- scripts-user
|
2012-09-23 00:06:28 +00:00
|
|
|
- ssh-authkey-fingerprints
|
2011-09-23 17:44:26 +00:00
|
|
|
- keys-to-console
|
|
|
|
- phone-home
|
|
|
|
- final-message
|
2016-07-07 01:38:38 +00:00
|
|
|
- power-state-change
|
2011-09-23 17:44:26 +00:00
|
|
|
|
2016-09-30 00:55:32 +00:00
|
|
|
# System and/or distro specific settings
|
|
|
|
# (not accessible to handlers/transforms)
|
2012-09-23 00:06:28 +00:00
|
|
|
system_info:
|
2016-09-30 00:55:32 +00:00
|
|
|
# This will affect which distro class gets used
|
|
|
|
distro: fedora
|
|
|
|
# Default user name + that default user's groups
|
2012-12-14 18:13:27 +00:00
|
|
|
default_user:
|
2013-06-15 17:00:11 +00:00
|
|
|
name: fedora
|
2012-12-14 18:13:27 +00:00
|
|
|
lock_passwd: true
|
2016-09-30 00:55:32 +00:00
|
|
|
gecos: Fedora
|
2013-06-15 17:00:11 +00:00
|
|
|
groups: [wheel, adm, systemd-journal]
|
2012-12-14 18:13:27 +00:00
|
|
|
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
|
|
|
|
shell: /bin/bash
|
2012-09-23 00:06:28 +00:00
|
|
|
paths:
|
|
|
|
cloud_dir: /var/lib/cloud
|
|
|
|
templates_dir: /etc/cloud/templates
|
|
|
|
ssh_svcname: sshd
|
|
|
|
|
2011-09-23 17:44:26 +00:00
|
|
|
# vim:syntax=yaml
|