1
0
Fork 0
my-boxen/modules/projects/README.md

34 lines
1007 B
Markdown
Raw Permalink Normal View History

2012-10-02 20:27:33 -04:00
# Project Manifests
Project manifests live in `modules/projects/manifests/$project.pp`. A
simple project manifest example:
```puppet
2013-02-06 21:31:46 -05:00
class projects::trollin {
include icu4c
include phantomjs
2012-10-03 14:25:10 -04:00
2013-02-06 21:31:46 -05:00
boxen::project { 'trollin':
dotenv => true,
elasticsearch => true,
mysql => true,
nginx => true,
redis => true,
ruby => '1.9.3',
source => 'boxen/trollin'
2012-10-02 20:27:33 -04:00
}
}
```
2013-02-06 21:31:46 -05:00
With the above, as long as our app is configured to listen on a **socket** at
`"#{ENV['BOXEN_SOCKET_DIR']}"/trollin`, you'll now be able to run its local
server and visit http://trollin.dev/ to access the app in dev.
Provide the full repository URL in the 'source' option when referencing
code that is not hosted at github.com, such as Github Enterprise
repositories.
2013-02-06 21:31:46 -05:00
For further documentation on how to use the `boxen::project` type,
take a look at the documentation in the
2013-06-11 16:19:40 -04:00
[source](https://github.com/boxen/puppet-boxen/blob/master/manifests/project.pp#L1-L61).