#cloud-config

# from 1 files
# cloud_config.txt

---
chpasswd:
    expire: false
disable_ec2_metadata: true
disable_root: false
final_message: YAY! The system is finally up, after $UPTIME seconds
fqdn: node-1.test.domain.local
growpart:
    mode: false
hostname: node-1.test.domain.local
locale: en_US.UTF-8
mcollective:
    conf:
        collectives: mcollective
        connector: rabbitmq
        daemonize: 0
        direct_addressing: 1
        factsource: yaml
        libdir: /usr/share/mcollective/plugins
        logfile: /var/log/mcollective.log
        loglevel: debug
        main_collective: mcollective
        plugin.psk: unset
        plugin.rabbitmq.heartbeat_interval: 30
        plugin.rabbitmq.pool.1.host: 10.109.5.2
        plugin.rabbitmq.pool.1.password: yIxqw0b8
        plugin.rabbitmq.pool.1.port: 61613
        plugin.rabbitmq.pool.1.user: mcollective
        plugin.rabbitmq.pool.size: 1
        plugin.rabbitmq.vhost: mcollective
        plugin.yaml: /etc/mcollective/facts.yaml
        securityprovider: psk
        ttl: 4294957
password: r00tme
puppet:
    conf:
        agent:
            classfile: $vardir/classes.txt
            configtimeout: 600
            localconfig: $vardir/localconfig
            report: false
            server: nailgun.test.domain.local
        main:
            logdir: /var/log/puppet
            pluginsync: true
            rundir: /var/run/puppet
            ssldir: $vardir/ssl
resize_rootfs: false
rsyslog:
-   content: '$template LogToMaster, "<%%PRI%>1 %$NOW%T%TIMESTAMP:8:$%Z %HOSTNAME%
        %APP-NAME% %PROCID% %MSGID% -%msg%\n"

        *.* @10.109.5.2;LogToMaster

        '
    filename: 10-log2master.conf
runcmd:
- /usr/sbin/invoke-rc.d puppet stop
- /usr/sbin/update-rc.d -f puppet remove
- rm -f /etc/init/mcollective.override
- service mcollective restart
- iptables -t filter -F INPUT
- iptables -t filter -F FORWARD
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5cmYe8XtmMCkyN/1sHpDH58dIo8fxgCSnVPFjSxA+IvqSeMlwy4oap76+Iik3S+rCe+G0VLJZPzHazFeFZjXltiKm3WZCAuUq79U2u21/pYvfjYzgiWmsUxLy7zfy/JGMvtqJ/2KR8mSNPiU+U8fvqKmHIxBnWZTNU13lreB5GwwlmxugVKycjmk2AvVi+dvzmfDvYwXSG2waFzRj0/hjOcDjpoby58TV72M7TNRPBGJWwYKh8qololJPgoh8bj8UAVwhIuAUyWu1/cbNsU6mgagfRjtyO1M7/32XtpEI+MwAO0tRF6CMeaDKQVc580NoLA04Wmf5cLtO+V3kQbPYQ==
    root@nailgun.test.domain.local
- ''
ssh_pwauth: false
timezone: Etc/UTC
user: root
write_files:
-   content: '---

        url: http://10.109.5.2:8000/api

        '
    path: /etc/nailgun-agent/config.yaml
-   content: target
    path: /etc/nailgun_systemtype
...
