Commit 2522d1b51af09fb2c203fd2d581643f2c54fff5c
1 parent
d470c4a631
Exists in
master
Install pythons
Showing 4 changed files with 18 additions and 4 deletions Side-by-side Diff
Puppetfile
... | ... | @@ -53,7 +53,8 @@ |
53 | 53 | |
54 | 54 | # Optional/custom modules. There are tons available at |
55 | 55 | # https://github.com/boxen. |
56 | -github "osx", "2.7.0" | |
57 | -github "brewcask", "0.0.4.rc2", :repo => "hanjianwei/puppet-brewcask" | |
58 | -github "dotfiles", "0.0.9", :repo => "hanjianwei/puppet-dotfiles" | |
56 | +github "osx", "2.7.0" | |
57 | +github "brewcask", "0.0.4.rc2", :repo => "hanjianwei/puppet-brewcask" | |
58 | +github "dotfiles", "0.0.9", :repo => "hanjianwei/puppet-dotfiles" | |
59 | +github "python", "0.0.2", :repo => "hanjianwei/puppet-python" |
Puppetfile.lock
... | ... | @@ -69,6 +69,11 @@ |
69 | 69 | homebrew (1.9.5.rc2) |
70 | 70 | |
71 | 71 | GITHUBTARBALL |
72 | + remote: hanjianwei/puppet-python | |
73 | + specs: | |
74 | + python (0.0.2) | |
75 | + | |
76 | +GITHUBTARBALL | |
72 | 77 | remote: puppetlabs/puppetlabs-inifile |
73 | 78 | specs: |
74 | 79 | inifile (1.1.3) |
... | ... | @@ -96,6 +101,7 @@ |
96 | 101 | openssl (= 1.0.0) |
97 | 102 | osx (= 2.7.0) |
98 | 103 | pkgconfig (= 1.0.0) |
104 | + python (= 0.0.2) | |
99 | 105 | repository (= 2.3.0) |
100 | 106 | ruby (= 8.1.2) |
101 | 107 | stdlib (= 4.3.2) |
hiera/users/hanjianwei.yaml
manifests/site.pp
... | ... | @@ -64,10 +64,16 @@ |
64 | 64 | include nodejs::v0_10 |
65 | 65 | include nodejs::global |
66 | 66 | |
67 | - # default ruby versions | |
67 | + # ruby versions | |
68 | 68 | ruby::version { '1.9.3': } |
69 | 69 | ruby::version { '2.1.2': } |
70 | 70 | include ruby::global |
71 | + | |
72 | + # python versions | |
73 | + python::version { '2.7.8': } | |
74 | + python::version { '3.4.1': } | |
75 | + python::version { 'pypy-2.3.1': } | |
76 | + include python::global | |
71 | 77 | |
72 | 78 | file { "${boxen::config::srcdir}/our-boxen": |
73 | 79 | ensure => link, |