FAQ
Hi,

The attached script is made for those who have one node per file and want
to catch if something have been made global by being outside on the node
block.

Example:

node xxx { ... }
package{...}
if ... { ... }

which should have been

node xxx { ...
package{...}
if ... { ... }
}

Adjust the path in brackets.sh to your needs and in puppet.conf add

prerun_command = /path/to/brackets.sh

The script is READ ONLY, and doesn't change any of your files.

Please test it on your node pp files, and report any bugs =)

Hugs,
Sandra

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/iQZoA0somJ0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedOct 10, '12 at 9:45p
activeOct 10, '12 at 9:45p
posts1
users1
websitepuppetlabs.com

1 user in discussion

Sandra Schlichting: 1 post

People

Translate

site design / logo © 2022 Grokbase