Skip to content

Various scripts for bootstrapping systems

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE.BSD
MIT
LICENSE.MIT
Notifications You must be signed in to change notification settings

msvilp/scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet-Finland scripts

A collection of useful scripts (shell and Powershell) used for bootstrapping systems. In this context bootstrapping means getting the node to a state where a real configuration management system (e.g. Puppet) can take over it's configuration.

These scripts are particularly useful with tools such as Vagrant for provisioning virtual machines.

These scripts can be run standalone for the most part. One strategy is to distribute a single site-specific initialization script that fetches and runs other bootstrapping scripts to do things like setup OpenVPN and then run Puppet.

Project structure

Currently the project structure is simple:

.
├── bootstrap
│   ├── linux
│   │   └── setup_puppet.ps1
│   └── windows
│       ├── config.ps1
│       ├── create_user.ps1
│       ├── init.bat
│       ├── setup_openvpn.ps1
│       ├── setup_puppet.ps1
│       ├── setup_ssh_rsync.ps1
│       ├── transcript_example.ps1
│       └── utils.ps1
└── README.md

The "bootstrap" directory contains all bootstrapping scripts. Scripts aimed at bootstrapping Linux (or *NIX) nodes are under "linux" and are typically (but not necessarily) written with sh shell in mind.

Powershell scripts and batch files used for bootstrapping Windows nodes are under the "windows" subdirectory. There are two special files: utils.ps1 and config.ps1. The former contains general purpose Powershell functions which are included in other Powershell scripts. The latter, config.ps1, contains common configuration for other Powershell scripts.

License and copyrights

Unless otherwise stated the scripts use the BSD license (see LICENSE.BSD). Files taken from the packer-windows project use the MIT license (see LICENSE.MIT).

About

Various scripts for bootstrapping systems

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE.BSD
MIT
LICENSE.MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 62.4%
  • Shell 36.6%
  • Batchfile 1.0%