#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: dX1QB3gJ9NmZVVbOW0STcH2i
        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$zMSns3GDwmgIsALo$vBC0sZ/G38XTm18PY4ozEH3eprFsNbN6fChiEM/MS./hXQziaMYKs7i1ONd/wLSHrx39.tWKq4yvdywe1GtEe0
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7b+mc6bxsYhdUOzCmUIVH2pd1mPFNs9cxev/n5CxbPYX6qpw6buTsKOLeMKm2GfRwQwYsi0mW/5meTPir901D/3KG9fX3PYXhwPtR5f7S82FGZItYy+YNGQaeViO6P+BI0CJ89BBjscPP9sI3OVBJGPN9QWbMkcQDeKuusU33Vl2ZMQEGgnQyqy+jfDCji7WO5d9hXjmNJnT8Rpu8BCBD6+20R68p/Qt+bAWXsqhu458mvVHbblS6Klat6LkpXUXokbWg0+jg8d8YSQt2+PFMq6rL1xh8YrargG5hBfLKil6VWSt3LucFMJWPfZD+JxP26tfYQOTMSOurIjkXJl5/
        root@fuel-ericsson-pod3
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /var/lib/fuel
    lock_passwd: false
    name: fuel
    passwd: $6$1td8popXF8fl4r55$2rSAxUVLTeRTkwXChhNh/HN22R1Ow4lSfTDIPaMNyA918MCWzXFY9ix2n0lDjTniTWSB9elc0rehLoMkEI8b9.
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7b+mc6bxsYhdUOzCmUIVH2pd1mPFNs9cxev/n5CxbPYX6qpw6buTsKOLeMKm2GfRwQwYsi0mW/5meTPir901D/3KG9fX3PYXhwPtR5f7S82FGZItYy+YNGQaeViO6P+BI0CJ89BBjscPP9sI3OVBJGPN9QWbMkcQDeKuusU33Vl2ZMQEGgnQyqy+jfDCji7WO5d9hXjmNJnT8Rpu8BCBD6+20R68p/Qt+bAWXsqhu458mvVHbblS6Klat6LkpXUXokbWg0+jg8d8YSQt2+PFMq6rL1xh8YrargG5hBfLKil6VWSt3LucFMJWPfZD+JxP26tfYQOTMSOurIjkXJl5/
        root@fuel-ericsson-pod3
    sudo:
    - 'ALL=(ALL) NOPASSWD: ALL'
-   homedir: /root
    lock_passwd: false
    name: root
    passwd: $6$TjAydhSc.EMgp/PA$/jf7EcS4mly9v3Nw4VMWM4/XDMrkPj./SiGc.a/tiuAHCHSIb43FWCm3rhaSG2A2grKQAeMTUndsGR5jQuVzK0
    shell: /bin/bash
    ssh_authorized_keys:
    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7b+mc6bxsYhdUOzCmUIVH2pd1mPFNs9cxev/n5CxbPYX6qpw6buTsKOLeMKm2GfRwQwYsi0mW/5meTPir901D/3KG9fX3PYXhwPtR5f7S82FGZItYy+YNGQaeViO6P+BI0CJ89BBjscPP9sI3OVBJGPN9QWbMkcQDeKuusU33Vl2ZMQEGgnQyqy+jfDCji7WO5d9hXjmNJnT8Rpu8BCBD6+20R68p/Qt+bAWXsqhu458mvVHbblS6Klat6LkpXUXokbWg0+jg8d8YSQt2+PFMq6rL1xh8YrargG5hBfLKil6VWSt3LucFMJWPfZD+JxP26tfYQOTMSOurIjkXJl5/
        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
...
