Created
April 28, 2015 11:01
-
-
Save scarcry/391afc5cc3f14ba42085 to your computer and use it in GitHub Desktop.
SmartOS puppet json manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"brand": "joyent", | |
"zfs_root_compression": "lz4", | |
"image_uuid": "24648664-e50c-11e4-be23-0349d0a5f3cf", | |
"alias": "puppet1", | |
"hostname": "puppet1", | |
"max_physical_memory": 1024, | |
"dns_domain": "fritz.box", | |
"resolvers": ["192.168.3.209", "194.109.6.66", "194.109.9.99"], | |
"maintain_resolvers": "true", | |
"nics": [ | |
{ | |
"nic_tag": "admin", | |
"mac": "e2:4e:19:35:a0:3a", | |
"ip": "192.168.3.214", | |
"netmask": "255.255.255.0", | |
"gateway": "192.168.3.1", | |
"allow_ip_spoofing": "true" | |
} | |
], | |
"filesystems": [ | |
{ | |
"type": "lofs", | |
"source": "/var/setup-v6", | |
"target": "/opt/setup-v6" | |
}, | |
{ | |
"type": "lofs", | |
"source": "/zones/bootstrap", | |
"target": "/var/tmp/bootstrap" | |
}, | |
{ | |
"type": "lofs", | |
"source": "/zones/puppet-conf", | |
"target": "/etc/puppet" | |
}, | |
{ | |
"type": "lofs", | |
"source": "/zones/puppet-data", | |
"target": "/var/lib/puppet" | |
}, | |
{ | |
"type": "lofs", | |
"source": "/zones/puppet-hiera", | |
"target": "/var/lib/hiera" | |
} | |
], | |
"customer_metadata": { | |
"user-script" : "export PUPPETMASTER=puppet1.fritz.box ; export PATH=$PATH:/opt/local/bin ; bash /var/tmp/bootstrap/puppet_master.sh > /tmp/bootstrap.log 2>&1 &" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment