simp-rake-helpers 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +55 -19
- data/lib/simp/rake/helpers/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c6299dfaa0a3e75d37916459a30caf994a7622a
|
4
|
+
data.tar.gz: 2a6f65497e333ea57ca66b0260807159f80844d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ecb3781be056aa6a557e7189bb7bf2ad6b1cfd87c1cc9b8ad84d7f087d58918df569b7e3a6c5829d7b2970ef4712dc5eeb9d477ba5ef8143b8e6ce6b16495b0
|
7
|
+
data.tar.gz: c1dff90c15ea782be41a06a927549332092a2f4a49ad220d7bec2d3fd2e462eb60dd78db073f94c54fbf1c376589a2f6b56f7ff0f9b726095cb2ed1b52694590
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,32 +1,54 @@
|
|
1
1
|
# simp-rake-helpers
|
2
|
-
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) [![Build Status](https://travis-ci.org/simp/rubygems-simp-rake-helpers.svg?branch=master)](https://travis-ci.org/simp/rubygems-simp-rake-helpers)
|
3
2
|
|
4
|
-
|
3
|
+
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
|
4
|
+
[![Build Status](https://travis-ci.org/simp/rubygem-simp-rake-helpers.svg?branch=master)](https://travis-ci.org/simp/rubygem-simp-rake-helpers)
|
5
|
+
[![Gem](https://img.shields.io/gem/v/simp-rake-helpers.svg)](https://rubygems.org/gems/simp-rake-helpers)
|
6
|
+
[![Gem_Downloads](https://img.shields.io/gem/dt/simp-rake-helpers.svg)](https://rubygems.org/gems/simp-rake-helpers)
|
5
7
|
|
6
|
-
|
7
|
-
* [This gem is part of SIMP](#this-gem-is-part-of-simp)
|
8
|
-
* [Features](#features)
|
9
|
-
2. [Setup](#setup)
|
10
|
-
* [Gemfile](#gemfile)
|
11
|
-
3. [Usage - Configuration options and additional functionality](#usage)
|
12
|
-
* [In a Puppet Module](#in-a-puppet-module)
|
13
|
-
* [In a Ruby Gem](#in-a-ruby-gem)
|
14
|
-
* [RPM Generation](#rpm-generation)
|
15
|
-
4. [Reference - An under-the-hood peek at what the gem is doing and how](#reference)
|
16
|
-
5. [Limitations - OS compatibility, etc.](#limitations)
|
17
|
-
6. [Development - Guide for contributing to the module](#development)
|
18
|
-
* [License](#license)
|
19
|
-
* [History](#history)
|
8
|
+
#### Table of Contents
|
20
9
|
|
10
|
+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
11
|
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
12
|
+
|
13
|
+
- [Overview](#overview)
|
14
|
+
- [This gem is part of SIMP](#this-gem-is-part-of-simp)
|
15
|
+
- [Features](#features)
|
16
|
+
- [Setup](#setup)
|
17
|
+
- [Gemfile](#gemfile)
|
18
|
+
- [Usage](#usage)
|
19
|
+
- [In a Puppet module](#in-a-puppet-module)
|
20
|
+
- [In a Ruby Gem](#in-a-ruby-gem)
|
21
|
+
- [RPM Generation](#rpm-generation)
|
22
|
+
- [RPM Changelog](#rpm-changelog)
|
23
|
+
- [RPM Dependencies](#rpm-dependencies)
|
24
|
+
- [Reference](#reference)
|
25
|
+
- [simp/rake/rpm](#simprakerpm)
|
26
|
+
- [rake pkg:rpm[chroot,unique,snapshot_release]](#rake-pkgrpmchrootuniquesnapshot_release)
|
27
|
+
- [Parameters](#parameters)
|
28
|
+
- [rake pkg:scrub[chroot,unique]](#rake-pkgscrubchrootunique)
|
29
|
+
- [rake pkg:srpm[chroot,unique,snapshot_release]](#rake-pkgsrpmchrootuniquesnapshot_release)
|
30
|
+
- [Parameters](#parameters-1)
|
31
|
+
- [rake pkg:tar[snapshot_release]](#rake-pkgtarsnapshot_release)
|
32
|
+
- [Parameters](#parameters-2)
|
33
|
+
- [Limitations](#limitations)
|
34
|
+
- [FIPS Enabled Systems](#fips-enabled-systems)
|
35
|
+
- [Development](#development)
|
36
|
+
- [License](#license)
|
37
|
+
- [History](#history)
|
38
|
+
|
39
|
+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
21
40
|
|
22
41
|
## Overview
|
42
|
+
|
23
43
|
The `simp-rake-helpers` gem provides common Rake tasks to support the SIMP build process.
|
24
44
|
|
25
45
|
### This gem is part of SIMP
|
46
|
+
|
26
47
|
This gem is part of (the build tooling for) the [System Integrity Management Platform](https://github.com/NationalSecurityAgency/SIMP), a compliance-management framework built on [Puppet](https://puppetlabs.com/).
|
27
48
|
|
28
49
|
|
29
50
|
### Features
|
51
|
+
|
30
52
|
* Supports multithreaded mock operations
|
31
53
|
* RPM packaging and signing
|
32
54
|
* Rubygem packaging
|
@@ -71,8 +93,8 @@ group :test do
|
|
71
93
|
end
|
72
94
|
```
|
73
95
|
|
74
|
-
|
75
96
|
## Usage
|
97
|
+
|
76
98
|
### In a Puppet module
|
77
99
|
|
78
100
|
Within the project's Rakefile:
|
@@ -83,7 +105,6 @@ require 'simp/rake/pupmod/helpers'
|
|
83
105
|
Simp::Rake::Pupmod::Helpers.new(File.dirname(__FILE__))
|
84
106
|
```
|
85
107
|
|
86
|
-
|
87
108
|
### In a Ruby Gem
|
88
109
|
|
89
110
|
Within the project's Rakefile:
|
@@ -181,14 +202,29 @@ Build the pupmod-simp-iptables tar package
|
|
181
202
|
|
182
203
|
## Limitations
|
183
204
|
|
205
|
+
### FIPS Enabled Systems
|
206
|
+
|
207
|
+
This is not a limitation of the module, but of Bundler.
|
208
|
+
|
209
|
+
If you are running on a FIPS-enabled system, you will need to use `bundler '~> 1.14.0'`
|
210
|
+
until the FIPS support can be corrected.
|
211
|
+
|
212
|
+
If you are using RVM, the appropriate steps are as follows:
|
213
|
+
|
214
|
+
```shell
|
215
|
+
rm Gemfile.lock ||:
|
216
|
+
rvm @global do gem uninstall bundler -a -x
|
217
|
+
rvm @global do gem install bundler -v '~> 1.14.0'
|
218
|
+
```
|
184
219
|
|
185
220
|
## Development
|
186
221
|
|
187
222
|
Please see the [SIMP Contribution Guidelines](https://simp-project.atlassian.net/wiki/display/SD/Contributing+to+SIMP).
|
188
223
|
|
189
224
|
### License
|
190
|
-
See [LICENSE](LICENSE)
|
191
225
|
|
226
|
+
See [LICENSE](LICENSE)
|
192
227
|
|
193
228
|
### History
|
229
|
+
|
194
230
|
See [CHANGELOG.md](CHANGELOG.md)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-rake-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.14
|
20
|
+
version: '1.14'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.14
|
27
|
+
version: '1.14'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|