Toggle navigation
Samples
hashicorp/json2hcl
hashicorp/resource_counter
hashicorp/vault-namespaces
hashicorp/tfc_activity
hashicorp/waas
hashicorp/template_catalog
hashicorp/vault-mocks
puppet/validate
puppet/fact
puppet/function
puppet/resource
puppet/compile
puppet/apply
puppet/template
puppet/parser_validate
puppet/facts
puppet/factlogic
puppet/relationship
Github
by WhatsARanjit
The Magic Box
Enter puppet code:
Add a relationship so that the package is managed before the file.
package { 'myapp': ensure => installed, } file { '/myapp/config.json': ensure => file, content => '{ "configuration": "some setting"}', }
Success!