An open API service indexing awesome lists of open source software.

https://github.com/mlibrary/nebula

:stars: Central puppet module
https://github.com/mlibrary/nebula

Last synced: 11 months ago
JSON representation

:stars: Central puppet module

Awesome Lists containing this project

README

          

# Puppet Nebula

## Development

### with locally installed ruby

```sh
# ensure you're using the correct ruby (higher versions will _probably_ work)
% cat .ruby-version
3.2
% ruby -v
ruby 3.2.6

# bundle
bundle

# run all tests
bundle exec rake parallel_spec

# run any single test
bundle exec rake spec_prep
bundle exec rspec specs/path/to/a_spec.rb

# lint
bundle exec standardrb # lint .rb files
bundle exec rake lint # lint .pp files

# puppet module dependencies
bundle exec rake outdated
bundle exec rake librarian

# update gems, pdk
vi .sync.yml
pdk update
```

### with `docker compose`
```sh
docker compose build
docker compose run spec_prep
docker compose run specs
# or…
docker compose run specs bundle exec rspec specs/path/to/a_spec.rb
docker compose run specs bundle exec rake spec_standalone
```