#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.se
growpart:
    mode: false
hostname: node-3.opnfvericsson.se
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: llADnYsSRSFHAXcIK0cXTpTS
        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$ST5098k2rN/DCweC$mUAmHjp0R/CKHoywRBEXu6hxlT4bhqhAVHNMXP5ZwtV7K4qsn7RwDwLf1.59PrM4QnZ9BlfS83TKz35j8WTlw/
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCo+tAAusZzAHnf9Yy7PtqJcouMUzRIx7DVArqdeBNcf3ybDfM/i5iAiZlGCVWqB8RO+y3VvlzDyD+bSZodEsWk3Y/KqSLRXvcJes9UiN6QQPiPbuOooulr+QUbB6Cs6t6fc3YxLvTszyiHWCHBB6kXwJ/vRlGoV3PTxyaR4YbWbC/uMtoxSabDOlI98RLtYHcsSPlwY5wYKLOAiDDd6YGgso3N4YCX0NyNXszNifXZW9LVlEYcTPmfpeLZ683KrXro+samcKQ9Tnd2m4hL08pjaJqxO711Ldi9EnzNp4Q9b50cuk+/qodtlW6HKfg+ExY7IOsc9W+ren3U+XMgjQLT
        root@fuel-ericsson-pod3
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /var/lib/fuel
    lock_passwd: false
    name: fuel
    passwd: $6$GsT2B2c16L4RCTKu$hCJ61HaHnBe70eyq3N6mdn/tr.zE6hVgV5VtNSLNFJJ.GvQ.1WyDVD7mSYvfVY.RsKbAIR4TbPsEkyTayAFee0
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCo+tAAusZzAHnf9Yy7PtqJcouMUzRIx7DVArqdeBNcf3ybDfM/i5iAiZlGCVWqB8RO+y3VvlzDyD+bSZodEsWk3Y/KqSLRXvcJes9UiN6QQPiPbuOooulr+QUbB6Cs6t6fc3YxLvTszyiHWCHBB6kXwJ/vRlGoV3PTxyaR4YbWbC/uMtoxSabDOlI98RLtYHcsSPlwY5wYKLOAiDDd6YGgso3N4YCX0NyNXszNifXZW9LVlEYcTPmfpeLZ683KrXro+samcKQ9Tnd2m4hL08pjaJqxO711Ldi9EnzNp4Q9b50cuk+/qodtlW6HKfg+ExY7IOsc9W+ren3U+XMgjQLT
        root@fuel-ericsson-pod3
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /root
    lock_passwd: false
    name: root
    passwd: $6$lTVL4bCwyyZ12hIp$iylQk15qaRc7qt/v452rdTZ02rB50rS8u.byrlpaOSPiT4WXQpY2VbkhGCY4ad2b2gQcLE6AFrHY2wKkqKMz80
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCo+tAAusZzAHnf9Yy7PtqJcouMUzRIx7DVArqdeBNcf3ybDfM/i5iAiZlGCVWqB8RO+y3VvlzDyD+bSZodEsWk3Y/KqSLRXvcJes9UiN6QQPiPbuOooulr+QUbB6Cs6t6fc3YxLvTszyiHWCHBB6kXwJ/vRlGoV3PTxyaR4YbWbC/uMtoxSabDOlI98RLtYHcsSPlwY5wYKLOAiDDd6YGgso3N4YCX0NyNXszNifXZW9LVlEYcTPmfpeLZ683KrXro+samcKQ9Tnd2m4hL08pjaJqxO711Ldi9EnzNp4Q9b50cuk+/qodtlW6HKfg+ExY7IOsc9W+ren3U+XMgjQLT
        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
...
