Skip to content

Instantly share code, notes, and snippets.

@richardc
Created February 6, 2013 20:06
Show Gist options
  • Save richardc/4725356 to your computer and use it in GitHub Desktop.
Save richardc/4725356 to your computer and use it in GitHub Desktop.
$ cat site.pp
file { '/tmp/foo':
source => undef,
}
$ puppet master --compile --manifest=site.pp
Compiled catalog for --manifest=site.pp in environment production in 0.02 seconds
{
"document_type": "Catalog",
"data": {
"tags": [
"settings"
],
"name": "--manifest=site.pp",
"version": 1360181186,
"environment": "production",
"resources": [
{
"type": "Stage",
"title": "main",
"tags": [
"stage"
],
"exported": false,
"parameters": {
"name": "main"
}
},
{
"type": "Class",
"title": "Settings",
"tags": [
"class",
"settings"
],
"exported": false
},
{
"type": "Class",
"title": "main",
"tags": [
"class"
],
"exported": false,
"parameters": {
"name": "main"
}
},
{
"type": "File",
"title": "/tmp/foo",
"tags": [
"file",
"class"
],
"file": "/home/richardc/apply_test/site.pp",
"line": 3,
"exported": false
}
],
"edges": [
{
"source": "Stage[main]",
"target": "Class[Settings]"
},
{
"source": "Stage[main]",
"target": "Class[main]"
},
{
"source": "Class[main]",
"target": "File[/tmp/foo]"
}
],
"classes": [
"settings"
]
},
"metadata": {
"api_version": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment