How osc/puppet-module-openondemand works
This is a Puppet module for provisioning and configuring Open OnDemand. Administrators declare the openondemand class and supply Hiera parameters; Puppet manages package repositories, installation, Apache, application configuration, clusters, and service state. The README documents authentication, SSL, interactive apps, external app-config repositories, and multiple cluster adapters. Source excerpts are mostly tests rather than manifests, so relationships among those manifest components are limited to documented capabilities; task implementations are shown separately where their behavior is sampled.
Main entry points: init.pp Module entry · apt.pp APT repository · rpm.pp RPM repository · install.pp Package install
Components 22
Provisioning
- Module entry
manifests/init.pp - APT repository
manifests/repo/apt.pp - RPM repository
manifests/repo/rpm.pp - Package install
manifests/install.pp - Apache setup
manifests/apache.pp
OnDemand configuration
- Base config
manifests/config.pp - Service management
manifests/service.pp - Cluster definitions
manifests/cluster.pp - OnDemand config files
manifests/conf.pp - App installation
manifests/install/app.pp - User app config
manifests/app/usr.pp - Development app config
manifests/app/dev.pp - Dashboard types
types/dashboard_layout.pp - Dex types
types/dex_config.pp - Batch Connect types
types/batch_connect.pp
Operations
- Announcement task
tasks/announce.py - Nginx staging task
tasks/nginx_stage.py - Maintenance task
tasks/maintenance.py
Other components
- Administrator
- OnDemand package repositories
- Open OnDemand
- External app config repository
Connections 23
- Administrator → Module entry: declares
README.md - Module entry → APT repository: configures
- Module entry → RPM repository: configures
- APT repository → OnDemand package repositories: configures
- RPM repository → OnDemand package repositories: configures
- Module entry → Package install: configures
- Package install → Open OnDemand: installs
README.md - Module entry → Apache setup: configures
README.md - Module entry → Base config: configures
README.md - Module entry → Cluster definitions: defines
README.md - Module entry → OnDemand config files: defines
README.md - Module entry → App installation: configures
README.md - Module entry → User app config: configures
- Module entry → Development app config: configures
- Base config → Service management: notifies
- Module entry → Service management: manages
- Module entry → Dashboard types: accepts settings
- Module entry → Dex types: accepts settings
README.md - Cluster definitions → Batch Connect types: accepts settings
README.md - Module entry → External app config repository: uses settings for
README.md - Module entry → Announcement task: provides task
- Module entry → Nginx staging task: provides task
- Module entry → Maintenance task: provides task