#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-3.opnfvericsson.ca
growpart:
    mode: false
hostname: node-3.opnfvericsson.ca
locale: en_US.UTF-8
mcollective:
    conf:
        collectives: mcollective
        connector: rabbitmq
        daemonize: 0
        direct_addressing: 1
        factsource: yaml
        identity: 3
        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: V4or0w1fqxaItPl9kGHdM5HA
        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$ATv8bR0tFUxVW4GO$yjx7GHuaCwvELP1WipiMHN.x2l5R1D2pJ9RmyVJQhwQw/OJwbU5/czSHRs/6tSZQrNM4WsyDGWAXtimCv0jel/
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEFe4ICJBHVZpp5U4rai3Y+PO+T8Ycw0SsNxyHXerCH2F11dGo0qnczj50q+1mSbZZbyYWm9sA9bQrPedsMOxGeKrWHO1BGJop0IwEPvewUgH9hNoBtqY5rWvku67yNIe8DaC763bIoHqFHuHrvpVqNsheQFWEVWVA13cwORitJ1cIP6sea6Lkx6cjT89F3lHX/CyP8Pqvdrnc1kXflqy94ghAb5MfEhlkzRBC9KS5h0foJqMznIWjQp4XWLcBrBpSgI6D/xSXEFPVcNcoa/hu1eCexI2Vw3TkT3qa+IycE7ElMqwPkBb85267dSAAYcGzJbJXHxcwcruTiW/fURN9
        root@fuel-bm1-pod2
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /var/lib/fuel
    lock_passwd: false
    name: fuel
    passwd: $6$Jqd9mhrVTcXlDb3C$WHTy87ifVF3ZYFEhRLhORCb.4eFOEfcah/N9NC/t5y/jD2Anw7TjBcjRsMTv3MQWPemYlYbS.puhDNGONgf7g/
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEFe4ICJBHVZpp5U4rai3Y+PO+T8Ycw0SsNxyHXerCH2F11dGo0qnczj50q+1mSbZZbyYWm9sA9bQrPedsMOxGeKrWHO1BGJop0IwEPvewUgH9hNoBtqY5rWvku67yNIe8DaC763bIoHqFHuHrvpVqNsheQFWEVWVA13cwORitJ1cIP6sea6Lkx6cjT89F3lHX/CyP8Pqvdrnc1kXflqy94ghAb5MfEhlkzRBC9KS5h0foJqMznIWjQp4XWLcBrBpSgI6D/xSXEFPVcNcoa/hu1eCexI2Vw3TkT3qa+IycE7ElMqwPkBb85267dSAAYcGzJbJXHxcwcruTiW/fURN9
        root@fuel-bm1-pod2
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /root
    lock_passwd: false
    name: root
    passwd: $6$MeW6QFDraVVuD2k8$ZZrn2CVh6aH1DHB33nAHG6WaRC7I77DGIFj6mB.yjME44HOaW0nTErP3zuRS6IAkbHtCT/PHwknIbrMLD/ug40
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEFe4ICJBHVZpp5U4rai3Y+PO+T8Ycw0SsNxyHXerCH2F11dGo0qnczj50q+1mSbZZbyYWm9sA9bQrPedsMOxGeKrWHO1BGJop0IwEPvewUgH9hNoBtqY5rWvku67yNIe8DaC763bIoHqFHuHrvpVqNsheQFWEVWVA13cwORitJ1cIP6sea6Lkx6cjT89F3lHX/CyP8Pqvdrnc1kXflqy94ghAb5MfEhlkzRBC9KS5h0foJqMznIWjQp4XWLcBrBpSgI6D/xSXEFPVcNcoa/hu1eCexI2Vw3TkT3qa+IycE7ElMqwPkBb85267dSAAYcGzJbJXHxcwcruTiW/fURN9
        root@fuel-bm1-pod2
write_files:
-   content: '---

        url: http://10.20.0.2:8000/api

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