Skip to content

Commit

Permalink
Merge pull request #67 from kreczko/fixing-travis
Browse files Browse the repository at this point in the history
Fixing travis tests for Puppet 4.0
  • Loading branch information
kreczko authored Jul 14, 2017
2 parents 711b2ad + 03efa9c commit a652d45
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 21 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,25 @@ language: ruby
cache: bundler
bundler_args: --without development
script:
- "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
- bundle exec rake validate
- bundle exec rake spec SPEC_OPTS='--format documentation'
- bundle exec rake lint

before_install:
- gem update bundler

matrix:
fast_finish: true
include:
- rvm: 2.1.7
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.1.7
- rvm: 2.1.9
env: PUPPET_GEM_VERSION="~> 4.0"
- rvm: 2.3.1
env: PUPPET_GEM_VERSION="~> 4.0"
allow_failures:
- rvm: 2.4.0
env: PUPPET_GEM_VERSION="~> 5.0"

notifications:
email: false
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ end
supports_windows = false

gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION'])
gem 'puppet-lint', '~> 2.0'
gem 'puppetlabs_spec_helper', '~> 2.1'
gem 'github_changelog_generator', '<= 1.14.3'
gem 'rspec-puppet', '~> 2.5'
gem 'puppet-lint'
gem 'puppetlabs_spec_helper'
gem 'github_changelog_generator'
gem 'rspec-puppet'
gem 'rspec-puppet-facts'
gem 'rspec-puppet-utils'
gem 'metadata-json-lint'
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Puppet module for HTCondor batch system
# Puppet module for HTCondor batch system

Latest stable version: https://github.com/HEP-Puppet/htcondor/releases/tag/v2.0.1

Expand All @@ -9,7 +9,7 @@ Development branch: https://github.com/HEP-Puppet/htcondor/tree/development
Puppetforge: https://forge.puppetlabs.com/HEPPuppet/htcondor


####Table of Contents
#### Table of Contents
1. [Overview - What is the htcondor module?](#overview)
2. [Module Description - What does the module do?](#module-description)
3. [Setup - The basics of getting started with htcondor](#setup)
Expand All @@ -18,12 +18,12 @@ Puppetforge: https://forge.puppetlabs.com/HEPPuppet/htcondor
* [Contributing to the htcondor module](#contributing)
* [Running tests - A quick guide](#running-tests)

##Overview
## Overview
The htcondor modules allows you to set up a HTCondor cluster (https://research.cs.wisc.edu/htcondor/).
It depends on several other modules, including puppetlabs/(stdlib|concat|firewall).
Please check the metadata.json for detailed dependencies.

##Module Description
## Module Description
An HTCondor cluster consists of at least three types of nodes:
* a worker for executing the jobs
* a scheduler for job submission
Expand All @@ -32,13 +32,13 @@ An HTCondor cluster consists of at least three types of nodes:
This puppet modules allows for the configuration of these three types of nodes.


##Setup
## Setup
**What the htcondor module affects:**
* configuration files and directories (/etc/condor/*)
* installation of htcondor software (condor* packages)
* a new fact for facter: condor_version

###Beginning with HTCondor
### Beginning with HTCondor
Since admins might wish to run their own repository or disable repositories after install,
the HTCondor repository is no longer included in the Puppet module since version 2.0.0.
Therefore, the first step is to install the latest HTCondor repository for your OS (https://research.cs.wisc.edu/htcondor/yum/):
Expand Down Expand Up @@ -75,14 +75,14 @@ htcondor::custom_job_attributes:
Although the use is identical, they are put into different places. `custom_attributes` end up added to the `STARTD_ATTRS`
and `custom_job_attributes` are added to `STARTD_JOB_ATTRS`.

##Limitations
###General
## Limitations
### General


##Development
## Development

###Contributing
###Running tests
### Contributing
### Running tests
Please run
```bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'```
and make sure no errors are present when submitting code.
Expand Down
28 changes: 24 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,37 @@
"version": "2.0.1",
"summary": "Puppet module for HTCondor batch system",
"author": "HEPPuppet",
"dependencies": [
"requirements": [
{
"name": "puppetlabs/firewall",
"version_requirement": "~> 1.8"
},
{
"name": "puppetlabs/stdlib",
"version_requirement": "~> 4.1"
"version_requirement": ">= 4.1"
}
],
"source": "git@github.com:HEP-Puppet/puppet-htcondor.git",
"source": "https://github.com/HEP-Puppet",
"project_page": "https://github.com/HEP-Puppet",
"license": "Apache-2.0"
"issues_url": "https://github.com/HEP-Puppet/htcondor/issues",
"license": "Apache-2.0",
"operatingsystem_support": [
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"6",
"7"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"6",
"7"
]
}
],
"dependencies": [

]
}

0 comments on commit a652d45

Please sign in to comment.