diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-05-24 17:58:35 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-05-30 00:34:14 +0200 |
commit | b4c2f958f6f26afae35c0095476972c90752a91d (patch) | |
tree | b08be4984d3eafbf406479a544c371ca388ce70e /README.txt | |
parent | 9dc127f52122a1fc7191177e56ec3b9b2c12b867 (diff) |
puppet: added basic Windows support
This implements the bare minimum needed to get puppet up and running on
our Windows machines as a scheduled task.
Removed outdated README.windows.txt and added a few Windows-specific
notes to README.txt.
Added Windows bootstrap script.
Tested with puppet 3.0.0rc2.
One notable problem which has not yet been solved is that the
majority of our Windows machines don't have any meaningful FQDN, and
therefore won't be usable in nodes/private_nodes in the same way as our
non-Windows hosts.
Change-Id: Ifd3b8435eefaae642b1bc2ffea4fcfaa06660966
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -14,10 +14,12 @@ puppet's domain-specific language. The basic setup on each test machine is like this: - - the test machine has a copy of this repo (usually at /var/qtqa/sysadmin) + - the test machine has a copy of this repo (usually at /var/qtqa/sysadmin, + or c:\qtqa\sysadmin on Windows) - - a script is run by a cron job on the test machine which updates the repo - and runs puppet (in one-shot mode, not as a daemon) + - a script is run by a cron job (unix) / scheduled task (Windows) on the + test machine which updates the repo and runs puppet (in one-shot mode, + not as a daemon) Getting the machine up and running to this point requires that at least git and puppet are installed, and a clone of this repo has been done. @@ -37,7 +39,15 @@ write up your own bootstrap script as you go :-) OTHER NOTES =========== -To temporarily disable the usage of puppet, touch /var/qtqa/sysadmin/puppet/disable_puppet +To temporarily disable the usage of puppet, touch: + + /var/qtqa/sysadmin/puppet/disable_puppet + c:\qtqa\sysadmin\puppet\disable_puppet Using this repository in conjuction with a puppet server probably won't work due to our usage of the `generate' puppet function in a few places. + +On Unix, puppet will log to the system log. + +On Windows, puppet will log to c:\qtqa\sysadmin\puppet\last_puppet_run.txt, +but this is considered a FIXME until some better solution is implemented. |