From 3e63ce3c71620433dc135959b2743aa010b28fe1 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 17 May 2016 12:52:57 +0200 Subject: update submodules so "rake test" doesnt complain anymore --- puppet/modules/rubygems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puppet/modules/rubygems/manifests/init.pp') diff --git a/puppet/modules/rubygems b/puppet/modules/rubygems index e704c9fe..510a3693 160000 --- a/puppet/modules/rubygems +++ b/puppet/modules/rubygems @@ -1 +1 @@ -Subproject commit e704c9fe1c40fea5b10fe3ca2b4f5de825341cc6 +Subproject commit 510a3693eab5dc78ed27d3728ee4d3b12334ea12 -- cgit v1.2.3 From 7ce3190986cf8e5fe037a7ccd4c1076505b117f4 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 12 Jul 2016 16:41:59 -0400 Subject: remove submodules in preparation for move to subrepos Change-Id: Ia7655153b556337f676e3d909559c4a7306bedd6 --- puppet/modules/rubygems | 1 - 1 file changed, 1 deletion(-) delete mode 160000 puppet/modules/rubygems (limited to 'puppet/modules/rubygems/manifests/init.pp') diff --git a/puppet/modules/rubygems b/puppet/modules/rubygems deleted file mode 160000 index 510a3693..00000000 --- a/puppet/modules/rubygems +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 510a3693eab5dc78ed27d3728ee4d3b12334ea12 -- cgit v1.2.3 From 10c80c65126cd84e6010495d30cb921d245f0d33 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 12 Jul 2016 16:46:02 -0400 Subject: git subrepo clone https://leap.se/git/puppet_rubygems puppet/modules/rubygems subrepo: subdir: "puppet/modules/rubygems" merged: "510a369" upstream: origin: "https://leap.se/git/puppet_rubygems" branch: "master" commit: "510a369" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "1e79595" Change-Id: Id2668c747e7d8b0a73415180baee9edece1017db --- puppet/modules/rubygems/manifests/init.pp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 puppet/modules/rubygems/manifests/init.pp (limited to 'puppet/modules/rubygems/manifests/init.pp') diff --git a/puppet/modules/rubygems/manifests/init.pp b/puppet/modules/rubygems/manifests/init.pp new file mode 100644 index 00000000..bca40b9e --- /dev/null +++ b/puppet/modules/rubygems/manifests/init.pp @@ -0,0 +1,31 @@ +# +# rubygems module +# original by luke kanies +# http://github.com/lak +# +# Copyright 2008, Puzzle ITC GmbH +# Marcel Härry haerry+puppet(at)puzzle.ch +# Simon Josi josi+puppet(at)puzzle.ch +# +# This program is free software; you can redistribute +# it and/or modify it under the terms of the GNU +# General Public License version 3 as published by +# the Free Software Foundation. +# + +# manage rubygems basics +class rubygems { + # from debian 8 on this is not anymore needed as it's part of the ruby pkg + if ($::operatingsystem != 'Debian') or (versioncmp($::operatingsystemrelease,'8') < 0) { + package{'rubygems': + ensure => installed, + } + } + file { '/etc/gemrc': + source => [ 'puppet:///modules/site_rubygems/gemrc', + 'puppet:///modules/rubygems/gemrc' ], + mode => '0644', + owner => 'root', + group => 'root', + } +} -- cgit v1.2.3