summaryrefslogtreecommitdiffstats
path: root/puppet/t/10-puppet-syntax-check.t
Commit message (Collapse)AuthorAgeFilesLines
* Change copyrights from Nokia to DigiaSergio Ahumada2012-09-271-24/+27
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I663e6fde9d2df2814463be90018014e599322efc Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Added an interactively configurable external node classifierRohan McGovern2012-09-031-0/+1
| | | | | | | | | | | | | | | | | Prior to this change, the type of host to be managed was based on the hostname, as per default puppet behavior. This required adding various patterns into a private overlay repository (private_nodes module), and naming hosts according to those patterns. The new setup uses a simple configuration file which can be interactively configured at bootstrap time, hopefully making it much easier to get started with this repository. This also reduces the usage of the private overlay repository (which should eventually be eliminated). Change-Id: Ide4f1d9360a19b16b3dcaedf993951725932a011 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Toby Tomkins <tjtomkins@gmail.com>
* Fixed puppet syntax check on Windows (again)Rohan McGovern2012-07-231-1/+1
| | | | | | | | When using qx(), remember to quote the puppet command, since the path to puppet may contain spaces. Change-Id: I5e4f675324f08c0f7f1cb8e2603447ebf2a8ae85 Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* Fixed puppet syntax check for puppet 2.6Rohan McGovern2012-07-231-2/+32
| | | | | | | | Command-line syntax has changed incompatibly between puppet 2.6 and 2.7. Use 'puppet apply --parseonly' for 2.6. Change-Id: Ib881756c73a59e4346a3a9f87001f56b46064f7c Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* Added a puppet syntax check.Rohan McGovern2012-07-201-0/+147
Use 'puppet parser validate' to check for basic errors (typos, etc). This can check all files regardless of whether or not they would be parsed for the current node. Change-Id: I3bcf861c7c5270dc1ed1fa26e4508aae8477f980 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>