https://github.com/mizzy/puppet-lxc-test-box
https://github.com/mizzy/puppet-lxc-test-box
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mizzy/puppet-lxc-test-box
- Owner: mizzy
- Created: 2013-03-21T17:25:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-14T13:46:37.000Z (about 13 years ago)
- Last Synced: 2025-03-30T13:51:14.707Z (about 1 year ago)
- Language: Puppet
- Size: 603 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# puppet-lxc-test-box
This module works on Red Hat Enterprise or RHEL clone version 6.x.
Clone two puppet modules.
```
$ git clone git://github.com/mizzy/puppet-lxc-test-box.git lxc_test_box
$ git clone git://github.com/duritong/puppet-sysctl.git sysctl
```
Write a manifest file.
```
include lxc_test_box
Exec { path => '/sbin:/usr/sbin:/bin:/usr/bin' }
lxc_test_box::guest::setup { 'base':
ipaddress_eth0 => '172.16.0.2',
ipaddress_eth1 => '172.16.1.2',
}
lxc_test_box::guest::setup { 'manage':
ipaddress_eth0 => '172.16.0.3',
ipaddress_eth1 => '172.16.1.3',
}
```
Apply this manifest.
```
$ sudo puppet apply --modulepath=. lxc_test_box.pp
```