#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-5.opnfvericsson.se
growpart:
    mode: false
hostname: node-5.opnfvericsson.se
locale: en_US.UTF-8
mcollective:
    conf:
        collectives: mcollective
        connector: rabbitmq
        daemonize: 0
        direct_addressing: 1
        factsource: yaml
        identity: 5
        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.20.0.2
        plugin.rabbitmq.pool.1.password: GQrfPAydWIp4rFYBKB6suGdW
        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
puppet:
    conf:
        agent:
            classfile: $vardir/classes.txt
            configtimeout: 600
            localconfig: $vardir/localconfig
            report: false
            server: localhost
        main:
            logdir: /var/log/puppet
            pluginsync: true
            postrun_command: /bin/true
            prerun_command: /bin/true
            rundir: /var/run/puppet
            ssldir: $vardir/ssl
            stringify_facts: false
resize_rootfs: false
rsyslog:
-   content: '$template LogToMaster, "<%PRI%>1 %$NOW%T%TIMESTAMP:8:$%Z %HOSTNAME%
        %APP-NAME% %PROCID% %MSGID% -%msg%\n"

        *.* @10.20.0.2;LogToMaster

        '
    filename: 00-remote.conf
runcmd:
- /usr/sbin/invoke-rc.d puppet stop
- /usr/sbin/update-rc.d -f puppet remove
- rm -f /etc/init/mcollective.override
- iptables -t filter -F INPUT
- iptables -t filter -F FORWARD
ssh_pwauth: false
timezone: Etc/UTC
users:
-   homedir: /home/fueladmin
    lock_passwd: false
    name: fueladmin
    passwd: $6$9NnUIZ6eA2UZO5Xz$WwkUaVAgOa3sYvztJ9xdegz7XUtlR1kA5V2hxsFV2DUY1Ww4nssXvrNXqtPUC6uq3AE22v5MHYYf0ioIpto861
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDO9WNX0a3e9VERW0AK9WmV9MluP1d0iGG59m3qR+0uSDa45b1tPBArxG01Kr0y3mRQwJwc58vyX9QFi14YqYWlJd6NKcWW9YszAsoJ5OnADO5S12OmYuNl2M0GP9u0YBA1cgG+G2kkM/u7M6MQzi3K01h4cOOxcQiYSsUb0qZxMSiXTjZGIVlG2H4zMw7rVrKHZxeRl3QP93I003S5TOeH6Nz8CGW+KSuGR2CKTtKdiuBOTq8mTKZEZppho+rb0IPxYBZdOq0R0r5Nr95B6dhPB++cCf1PPRP97XTnpM3XNyjDJNEct/qlKOFOuNzVTftsumxnxqa9BUCO0nYw8XcP
        root@fuel-ericsson-pod3
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /var/lib/fuel
    lock_passwd: false
    name: fuel
    passwd: $6$Ox9mBBYf3K7ggCXo$dIZk9rHuDOLxrvzD5MzTV1S8r8mmN49xmEQtD00se/ua0GXMqitAoFDBSb.q.k1Kr9TL5wy0bRuWr1Ngu411f1
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDO9WNX0a3e9VERW0AK9WmV9MluP1d0iGG59m3qR+0uSDa45b1tPBArxG01Kr0y3mRQwJwc58vyX9QFi14YqYWlJd6NKcWW9YszAsoJ5OnADO5S12OmYuNl2M0GP9u0YBA1cgG+G2kkM/u7M6MQzi3K01h4cOOxcQiYSsUb0qZxMSiXTjZGIVlG2H4zMw7rVrKHZxeRl3QP93I003S5TOeH6Nz8CGW+KSuGR2CKTtKdiuBOTq8mTKZEZppho+rb0IPxYBZdOq0R0r5Nr95B6dhPB++cCf1PPRP97XTnpM3XNyjDJNEct/qlKOFOuNzVTftsumxnxqa9BUCO0nYw8XcP
        root@fuel-ericsson-pod3
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /root
    lock_passwd: false
    name: root
    passwd: $6$Mu63PaQkvdbJHCIF$G8UjylchuCZ.DrjdthmQ38wR4.SJBBZqYv/6xJRcGCHk/w2cHdzF6AIPeMp3K2.HEPWmp1UMoLrydVpU3O0uA1
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDO9WNX0a3e9VERW0AK9WmV9MluP1d0iGG59m3qR+0uSDa45b1tPBArxG01Kr0y3mRQwJwc58vyX9QFi14YqYWlJd6NKcWW9YszAsoJ5OnADO5S12OmYuNl2M0GP9u0YBA1cgG+G2kkM/u7M6MQzi3K01h4cOOxcQiYSsUb0qZxMSiXTjZGIVlG2H4zMw7rVrKHZxeRl3QP93I003S5TOeH6Nz8CGW+KSuGR2CKTtKdiuBOTq8mTKZEZppho+rb0IPxYBZdOq0R0r5Nr95B6dhPB++cCf1PPRP97XTnpM3XNyjDJNEct/qlKOFOuNzVTftsumxnxqa9BUCO0nYw8XcP
        root@fuel-ericsson-pod3
write_files:
-   content: '---

        url: http://10.20.0.2:8000/api

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