diff options
author | varac <varacanero@zeromail.org> | 2014-01-30 17:18:40 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-01-30 17:18:40 +0100 |
commit | 7e0240acce5a338e7cc2b55f1f8ba749634c5da4 (patch) | |
tree | 84febda7df4d2a13c9a9309fd1744a3a7be9f7be | |
parent | 70965a33fb223236122dded2a97c5646dc6e46b6 (diff) |
change gem source to use https instead of http (Feature #3827)
-rw-r--r-- | files/gemrc | 3 | ||||
-rw-r--r-- | manifests/init.pp | 14 |
2 files changed, 14 insertions, 3 deletions
diff --git a/files/gemrc b/files/gemrc new file mode 100644 index 0000000..040f20b --- /dev/null +++ b/files/gemrc @@ -0,0 +1,3 @@ +--- +:sources: +- https://rubygems.org/ diff --git a/manifests/init.pp b/manifests/init.pp index 678bd54..036460d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -7,9 +7,9 @@ # 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 +# 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. # @@ -17,4 +17,12 @@ class rubygems { package{'rubygems': ensure => installed, } + file { '/etc/gemrc': + source => [ 'puppet:///site_rubygems/gemrc', + 'puppet:///rubygems/gemrc' ], + mode => '0644', + owner => 'root', + group => 'root', + } + } |