Sandra Schlichting
2012-Oct-10 17:30 UTC
[Puppet Users] Please review this node check script
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.