Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
33c1d83
Initialization (generated automatically)
Aug 30, 2013
9ffda20
[AI-1437] Removing skeleton
nbarrientos Aug 30, 2013
4d8cfa7
[AI-1437] Initial import from punch-modules:master
nbarrientos Aug 30, 2013
fbacdac
Atlas BNL Voms change.
traylenator Oct 7, 2013
94629e6
Merge branch 'qa'
traylenator Oct 16, 2013
4301010
Correct hellasgrid dteam port
traylenator Oct 24, 2013
34e4984
Merge branch 'dteam_port' into qa
traylenator Oct 24, 2013
4da0221
Change the voms-client rpm package name from voms-clients to voms-cli…
cajbrew Nov 5, 2013
984d138
Merge branch 'qa'
traylenator Nov 6, 2013
d859e41
add new vos
fschaer Dec 13, 2013
0d0e86d
add missing dependency number (breaks librarian otherwise)
fschaer Dec 13, 2013
7746d59
eclipse changes puppetlabs/stdlib into puppetlabs-stdlib ? Revert that
fschaer Dec 13, 2013
8b8bb81
add more vos
fschaer Dec 17, 2013
be6ea3e
Merge branch rodrigal into qa
Jan 9, 2014
8551a90
Check to see if aughash exists before creating resources
Jan 17, 2014
96c276b
merge branch 'qa'
Jan 20, 2014
7acee20
update neugrid voms
fschaer Feb 10, 2014
879513e
Use values for disabling registration and notification in the create …
Feb 10, 2014
726b311
Merge pull request #1 from fschaer/newvos
kreczko Feb 12, 2014
bda2eb2
fix hash syntax
fschaer Feb 17, 2014
621ea58
Added new VO's and cleared few typos
Mar 10, 2014
c6583f1
Added new VO's and cleared few typos
Mar 10, 2014
bed989a
Merge branch 'qa'
traylenator Mar 11, 2014
f02580b
Fix yaml for hiera
traylenator Mar 11, 2014
f35c2bf
Merge pull request #3 from oxford-physics/master
kashif74 Mar 18, 2014
66fcbbe
Merge branch 'qa'
traylenator Mar 25, 2014
bda3e15
Add values for disabling registration and notification in the voms-ad…
Apr 23, 2014
68633ed
Fix voms-admin restart so now it works when is executed by puppet
Feb 26, 2014
d9d135a
Merge branch 'qa'
Apr 30, 2014
c01d506
Add voms2 and lcg-voms2 servers for Alice
Apr 30, 2014
32afacf
Add voms2 and lcg-voms2 servers for rest of the VOs
Apr 30, 2014
8bafb67
Add voms2 and lcg-voms2 servers for all VOs
May 7, 2014
4206d16
Add max-reqs parameter to create and install scripts. It allows to se…
May 7, 2014
5d066da
Move maxreqs config to voms.conf instead of installation scripts
May 7, 2014
7b27ea5
Fix maxreqs format
May 7, 2014
537cf46
Set maxreqs to 200 as default value for voms core
May 7, 2014
5f1b5f6
Add max-reqs parameter to create and install scripts. It allows to se…
May 14, 2014
2ba7baa
Manage the hostname of the voms-admin instance via Puppet
May 26, 2014
b0813e7
Avoid duplicated augeas declaration while setting the hostname
May 26, 2014
5e8b782
Move set_canonical_name to voms-admin config manifest
May 26, 2014
ca11c16
Add hiera hostname configuration
May 26, 2014
ea8dbf8
Merge branch 'qa'
Jun 2, 2014
6c7c533
configure the SEE VO
mhellmic Jun 24, 2014
518dfdc
Merge branch 'qa'
Jul 2, 2014
dfa08da
fix france-grilles VO naming
fschaer Jul 21, 2014
2493467
remove FNAL voms as asked in GGUS
fschaer Jul 21, 2014
1f2f01d
fix hess VO name and CA DN
fschaer Jul 21, 2014
7183965
Merge pull request #5 from fschaer/fnal_retirement
kashif74 Jul 23, 2014
d230dc9
Remove ILC server from FNAL as it was shut down
Jul 25, 2014
bd65bc8
Merge branch 'qa'
Aug 1, 2014
f1ebde6
add voms2 (sha2) servers
fschaer Sep 5, 2014
6855646
Use class variable to set the path to the passfile
Sep 9, 2014
b37c988
Add compass vo
Sep 10, 2014
add373e
fix gridpp voms files name
kashif74 Sep 15, 2014
929712d
Merge pull request #6 from oxford-physics/master
kashif74 Sep 15, 2014
92a5811
Merge branch 'qa'
Sep 17, 2014
d229bfc
Merge pull request #7 from fschaer/lcgvoms2
kreczko Sep 25, 2014
31926e3
fix dash with underscores
fschaer Sep 29, 2014
62b0ce0
Merge pull request #8 from fschaer/fix_underscores
kreczko Sep 29, 2014
c02012c
fix the hess VO definition : dashes in the VO details, and undersccores
Oct 14, 2014
b357368
Merge pull request #9 from fschaer/fix_hess
kashif74 Oct 15, 2014
f36bc87
Remove server at BNL from atlas
Oct 23, 2014
d12f45a
Merge branch remove_atlas_bnl into master [CRM-753]
Oct 30, 2014
04c862d
changed modufile
andrea-manzi Nov 13, 2014
0cc2835
sync with CERN module changes
andrea-manzi Nov 13, 2014
2fc61fc
Merge branch 'master' into puppetforge
andrea-manzi Nov 13, 2014
3a8e526
fixed modulefile
andrea-manzi Nov 13, 2014
ec2d22e
fixed modulefile
andrea-manzi Nov 13, 2014
6bbb2b4
removed installation of voms-client
andrea-manzi Mar 27, 2015
21b0890
update version
andrea-manzi Mar 30, 2015
89e2920
update version
andrea-manzi Mar 30, 2015
3d810b3
using the new voms-client package name
andrea-manzi Mar 31, 2015
c58de79
updated changelog
andrea-manzi Mar 31, 2015
8277758
updated changelog
andrea-manzi Mar 31, 2015
2f1b13c
updated version
andrea-manzi Apr 9, 2015
c92ffeb
add harpo VO
fschaer Apr 30, 2015
57bf6e5
fix underscore in voms configuration
fschaer Apr 30, 2015
bcc6a8a
Merge pull request #11 from fschaer/fix_and_newvo
kashif74 May 1, 2015
12eeffa
Remove obsolete (lcg-)voms.cern.ch servers
milliams May 6, 2015
1eb76d8
Merge pull request #12 from milliams/master
kashif74 May 6, 2015
072e60f
rm stale files
kashif74 Nov 16, 2015
118f7b4
added four new VO
kashif74 Nov 18, 2015
343ea0d
Add magic and lz vo configs
cajbrew Dec 1, 2015
7417163
Switch to new CERN voms servers for all CERN VOs
cajbrew Dec 2, 2015
160db5d
Fix extra space in southgrid and mice configs
cajbrew Dec 2, 2015
f304345
Add comet.j-parc.jp
cajbrew Dec 4, 2015
075e26a
voms::install: file modes must be a string.
gwarf Dec 10, 2015
c005397
voms::install: file modes must be strings.
gwarf Dec 10, 2015
f078d6e
added travis files
andrea-manzi Dec 11, 2015
58f7fed
added travis files
andrea-manzi Dec 11, 2015
8441198
updated CHANGELOG
andrea-manzi Dec 11, 2015
caf5099
updated travis file
andrea-manzi Dec 11, 2015
d5ef3d2
remove puppet-list check
andrea-manzi Dec 11, 2015
0de0151
added new travis conf
andrea-manzi Dec 11, 2015
c35a6e4
remove puppet-lint
andrea-manzi Dec 11, 2015
571fbff
remove puppet-lint
andrea-manzi Dec 11, 2015
be4f468
added metadata.json file
andrea-manzi Dec 11, 2015
8441efe
fix license
andrea-manzi Dec 11, 2015
c59f676
updated rakefile
andrea-manzi Dec 11, 2015
a4b8a84
updated gemfile
andrea-manzi Dec 11, 2015
9e9de12
updated travis file
andrea-manzi Dec 11, 2015
d00c7bc
enable lint
andrea-manzi Dec 11, 2015
7ef255c
fix
andrea-manzi Dec 11, 2015
8829494
Merge pull request #1 from gnubila-france/puppet_4_support
andrea-manzi Dec 11, 2015
2c05f03
disable 2softspace
andrea-manzi Dec 11, 2015
a180bd2
disable 2softspace
andrea-manzi Dec 11, 2015
f50ae81
disable soft space
andrea-manzi Dec 11, 2015
dad4684
fix some puppet-list errors
andrea-manzi Dec 11, 2015
1121f3b
Merge remote-tracking branch 'CERN/master' into merge_cern_puppet4
fschaer Jan 15, 2016
0008b19
remove old LCG voms servers according to 1 year old recommendation :
fschaer Jan 15, 2016
a8a6cba
class references should not use uppercase letters, fix this so that
fschaer Jan 15, 2016
ffa8182
fix bad merge for ops CA DN
fschaer Jan 15, 2016
f5133fc
fixes : puppet lint
fschaer Jan 18, 2016
e6621cd
Merge pull request #2 from fschaer/merge_cern_puppet4
andrea-manzi Jan 18, 2016
1df691b
remove Modulefile
andrea-manzi Feb 8, 2016
bf8b793
Update the certificate info for voms2.fnal.gov for lsst
cajbrew Feb 9, 2016
5b8b1e4
updated changelog and version
andrea-manzi Feb 10, 2016
793366f
Update various voms server DNs and CA DNs
cajbrew Apr 22, 2016
078d55e
Merge pull request #13 from STFC-RAL-PPD/master
kreczko Apr 22, 2016
a8c5873
Update LZ voms server
cajbrew May 11, 2016
9bd037d
Merge pull request #14 from STFC-RAL-PPD/master
kreczko May 11, 2016
d54a167
correction in lsst vo config
kashif74 Jun 27, 2016
74bb721
change CA DN for dteam
andrea-manzi Jun 29, 2016
04c5b8e
bump version
andrea-manzi Jun 29, 2016
d38c5c3
bump version
andrea-manzi Jun 29, 2016
fed12b4
fixed project url
andrea-manzi Jun 29, 2016
58dc0e3
update LSST, DZERO and CDF vo params
andrea-manzi Jul 8, 2016
95fcbdb
Dteam VOMS configuration change
kashif74 Jul 25, 2016
86aed61
Update install.pp
VipulDavda Sep 12, 2017
49c5a46
Update client.pp
VipulDavda Sep 12, 2017
4f44d58
Merge pull request #15 from VipulDavda/master
kashif74 Sep 12, 2017
37eb3d9
fix doc
andrea-manzi Oct 12, 2017
4bb9a98
update travis conf
andrea-manzi Nov 21, 2017
f6da5ea
Merge branch 'master' of https://github.com/cern-it-sdc-id/puppet-voms
andrea-manzi Nov 21, 2017
2cf4cb9
Add skatelescope.eu VO
kashif74 May 2, 2018
3e6a0c9
Create solidexperiment_org.pp
VipulDavda May 14, 2018
ce8645b
Create dune.pp
VipulDavda May 14, 2018
d4acba4
Merge pull request #18 from VipulDavda/patch-2
kashif74 May 17, 2018
c397c9d
Merge pull request #17 from VipulDavda/patch-1
kashif74 May 17, 2018
5ab29c7
Update install.pp
VipulDavda May 31, 2018
a6ad8f7
Merge pull request #21 from VipulDavda/patch-5
kashif74 Jun 1, 2018
502fe64
Remove voms.hellasgrid.gr from dteam voms
vokac Sep 3, 2018
ac7130f
Merge pull request #3 from vokac/master
andrea-manzi Sep 3, 2018
9ee4bc4
update version and CHANGELOG
andrea-manzi Sep 3, 2018
5898e6e
Update dune.pp
VipulDavda Apr 2, 2019
2af48e6
Merge pull request #23 from VipulDavda/patch-6
kashif74 Apr 2, 2019
3afde1d
update from lcgdm-voms
andrea-manzi Nov 7, 2019
86ea5bf
fix merge
andrea-manzi Nov 7, 2019
9dfc424
update metadata
andrea-manzi Nov 7, 2019
143e599
LCGDM-2877: Update French VOs CA DN
andrea-manzi Nov 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
pkg
pkg/
Gemfile.lock
Gemfile.local
vendor/
.vendor/
spec/fixtures/manifests/
spec/fixtures/modules/
.vagrant/
.bundle/
.ruby-version
coverage/
log/
.idea/
.dependencies/
.librarian/
Puppetfile.lock
*.iml
.*.sw?
.yardoc/
Guardfile

25 changes: 25 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>puppet-voms</name>
<comment></comment>
<projects>
<project>external-mysql</project>
<project>external-stdlib</project>
</projects>
<buildSpec>
<buildCommand>
<name>com.puppetlabs.geppetto.pp.dsl.ui.modulefileBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.puppetlabs.geppetto.pp.dsl.ui.puppetNature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sudo: false
dist: trusty
language: ruby
cache: bundler
before_install:
- bundle -v
- rm Gemfile.lock || true
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- bundle exec rake $CHECK
matrix:
- rvm: 2.4.2
bundler_args: --without system_tests development release
env: PUPPET_VERSION="~> 5.0" CHECK=build DEPLOY_TO_FORGE=yes
13 changes: 12 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2018-09-03 Andrea Manzi <[email protected]>
* update voms servers for dteam
2016-07-08 Andrea Manzi <[email protected]>
* update LSST, DZERO and CDF vo params
2016-06-29 Andrea Manzi <[email protected]>
* updated CA DN for dteam
2016-01-18 Frederic Schaer <[email protected]>
* Puppet 4 support
2015-12-11 Andrea Manzi <[email protected]>
* Added travis files
2015-03-30 Andrea Manzi <[email protected]>
* Renaming voms-clients package to voms-clients-cpp
2011-04-01 Ricardo Rocha <[email protected]>

* First Release
77 changes: 77 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
source ENV['GEM_SOURCE'] || "https://rubygems.org"

def location_for(place, fake_version = nil)
if place =~ /^(git[:@][^#]*)#(.*)/
[fake_version, { :git => $1, :branch => $2, :require => false }].compact
elsif place =~ /^file:\/\/(.*)/
['>= 0', { :path => File.expand_path($1), :require => false }]
else
[place, { :require => false }]
end
end

group :test do
gem 'puppetlabs_spec_helper', '~> 2.5.0', :require => false
gem 'rspec-puppet', '~> 2.5', :require => false
gem 'rspec-puppet-facts', :require => false
gem 'rspec-puppet-utils', :require => false
gem 'puppet-lint-leading_zero-check', :require => false
gem 'puppet-lint-trailing_comma-check', :require => false
gem 'puppet-lint-version_comparison-check', :require => false
gem 'puppet-lint-classes_and_types_beginning_with_digits-check', :require => false
gem 'puppet-lint-unquoted_string-check', :require => false
gem 'puppet-lint-variable_contains_upcase', :require => false
gem 'metadata-json-lint', :require => false
gem 'redcarpet', :require => false
gem 'rubocop', '~> 0.49.1', :require => false if RUBY_VERSION >= '2.3.0'
gem 'rubocop-rspec', '~> 1.15.0', :require => false if RUBY_VERSION >= '2.3.0'
gem 'mocha', '>= 1.2.1', :require => false
gem 'coveralls', :require => false
gem 'simplecov-console', :require => false
gem 'rack', '~> 1.0', :require => false if RUBY_VERSION < '2.2.2'
gem 'parallel_tests', :require => false
end

group :development do
gem 'travis', :require => false
gem 'travis-lint', :require => false
gem 'guard-rake', :require => false
gem 'overcommit', '>= 0.39.1', :require => false
end

group :system_tests do
gem 'winrm', :require => false
if beaker_version = ENV['BEAKER_VERSION']
gem 'beaker', *location_for(beaker_version)
else
gem 'beaker', '>= 3.9.0', :require => false
end
if beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
gem 'beaker-rspec', *location_for(beaker_rspec_version)
else
gem 'beaker-rspec', :require => false
end
gem 'serverspec', :require => false
gem 'beaker-puppet_install_helper', :require => false
gem 'beaker-module_install_helper', :require => false
end

group :release do
gem 'github_changelog_generator', :require => false if RUBY_VERSION >= '2.2.2'
gem 'puppet-blacksmith', :require => false
gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem'
gem 'puppet-strings', '~> 1.0', :require => false
end



if facterversion = ENV['FACTER_GEM_VERSION']
gem 'facter', facterversion.to_s, :require => false, :groups => [:test]
else
gem 'facter', :require => false, :groups => [:test]
end

ENV['PUPPET_VERSION'].nil? ? puppetversion = '~> 5.0' : puppetversion = ENV['PUPPET_VERSION'].to_s
gem 'puppet', puppetversion, :require => false, :groups => [:test]

# vim: syntax=ruby
9 changes: 0 additions & 9 deletions Modulefile

This file was deleted.

40 changes: 40 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
This module manages VOMS resources for VOMS clients.

VOMS is the Virtual Organization Membership Service, in use by gLite, EMI, and
other grid computing projects.

== Examples

voms::server {
"voms_MyVO_cern":
vo => "MyVO",
server => "voms.cern.ch",
port => 15001,
dn => ["/DC=ch/DC=cern/OU=computers/CN=voms.cern.ch"],
ca_dn => ["/DC=ch/DC=cern/CN=CERN Trusted Certification Authority"];
}

The above declaration will create the files:

/etc/vomses/MyVO/voms.cern.ch
and
/etc/grid-security/vomsdir/MyVO/voms.cern.ch.lsc


For some VOs, you can probably find a predefined class you can enable which
does all the required setup without any additional configuration e.g:

class{'voms::atlas':}
or
class{'voms::dteam':}

Additions of new VOs will be accepted.

== Authors

CERN IT/GT/DMS <[email protected]>
CERN IT/PS/PES <[email protected]>




104 changes: 12 additions & 92 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
## cernops-voms puppet module

This module manages VOMS resources for VOMS clients, VOMS core and VOMS Admin.
[![Puppet Forge](http://img.shields.io/puppetforge/v/lcgdm/voms.svg)](https://forge.puppetlabs.com/lcgdm/voms)
[![Build Status](https://travis-ci.org/hep-puppet/puppet-voms.svg?branch=master)](https://travis-ci.org/hep-puppet/puppet-voms)

This module manages VOMS resources for VOMS clients

VOMS is the Virtual Organization Membership Service, in use by gLite, EMI, and
other grid computing projects.

## Examples
### Client Examples
Create files for the voms-proxy-init and voms-proxy-validate.

voms::client{'MyVO':
vo => 'MyVO',
servers => [{server => 'voms.cern.ch',
servers => [{server => 'voms2.cern.ch',
port => '15009',
dn => '/DC=ch/DC=cern/OU=computers/CN=voms.cern.ch',
ca_dn => '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'
dn => '/DC=ch/DC=cern/OU=computers/CN=voms2.cern.ch',
ca_dn => '/DC=ch/DC=cern/CN=CERN Grid Certification Authority'
},
{server => 'lcg-voms.cern.ch',
{server => 'lcg-voms2.cern.ch',
port => '15009',
dn => '/DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch',
ca_dn => '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'
dn => '/DC=ch/DC=cern/OU=computers/CN=lcg-voms2.cern.ch',
ca_dn => '/DC=ch/DC=cern/CN=CERN Grid Certification Authority'
}]

The above declaration will create the files:

/etc/vomses/MyVO/voms.cern.ch
/etc/vomses/MyVO-voms.cern.ch
and

/etc/grid-security/vomsdir/MyVO/voms.cern.ch.lsc
/etc/grid-security/vomsdir/MyVO/voms2.cern.ch.lsc


For some VOs, you can probably find a predefined class to enable a
Expand All @@ -40,85 +42,3 @@ Create files for the voms-proxy-init and voms-proxy-validate.
Additions of new VOs will be accepted, please submit pull requests
however zero validation of parameters will be made.

### A VOMS Core Example
VOMS core is the main voms service and responds to voms-proxy-init requests.
To configure a VOMS core services for two VOs.

# Configure defaults.
Voms::Core{
issuer => 'voms.example.org',
sqlpwd => 12345,
sqlhost => 'mysql.example.org'
}
# Configure VOs.
voms::core{'special.vo': port => 10000}
voms::core{'very.special.vo': port => 10001}

For full list of available parameters see voms::core definition.

### A VOMS Admin Example
VOMS admin is the tomcat hosted webservice for managing a Virtual Organisation.
To configure a few VOMS admin for a number of VOs.

# Configure defaults.
Voms::Admin{
sqlpwd => 12345,
sqlhost => 'mysql.example.org'
}
voms::admin{'special.vo':
port => 10000,
mailfrom => '[email protected]'
}
voms::admin{'very.special.vo':
port => 10001,
mailfrom => '[email protected]',
config_hash => {'voms.cafiles.period' => 2000,
'voms.notification.smtp-server' => '127.0.0.1'
}
}

For full list of available paramters see voms::admin definition.

The voms::admin definition will not update or load database schemas
however scripts are generated within /etc/voms-admin-puppet to
allow this to be done. e.g:

/etc/voms-admin-puppet/voms-admin-create-very.special.vo.sh

will create a schema for the 'very.special.vo'

## Database Configuration
VOMS admin and voms core require a database per VO. At this time this
puppet module only supports mysql. A mysql server can be
configured using puppetlabs-mysql module.
The Mysql users and access grants are exported as puppet resources from the
above voms::admin and voms::core declarations. Assuming default database
names of <voname>_db for each VO the following manifest will install
and configure mysql with all grant tables suitable for VOMS and VOMS-Admin
services to connect to.

class{'mysql::server': }
class{'voms::mysql':
vo_dbs => ['special.vo_db','very.special.vo_db']
}

This assumes your puppet service is configured to support
export resources.


### Todo
Configure tomcat and trustmanager outside this VOMS
module so other services can use it.

Use the existing EMI yum repo puppet module rather than manage myself.

Add some validation of items that are passed to voms admin with config hash,
currently they will be blindly added to the voms.service.properties files.

## Authors
CERN IT/GT/DMS <[email protected]>, Ricardo Rocha
CERN IT/PS/PES <[email protected]>, Steve Traylen
Bugs, Comments, Pull requests - https://github.com/cernops/puppet-voms



Loading