puppet-lint-no_cron_resources-check 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b12df2c62f079416ead85ccc3111ea26948a19d
|
4
|
+
data.tar.gz: e414f215fae4d15c1b694a9563301b0898f9e949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e887bb8ebddbfbc0e94d42d4cfa6e0194c5a31e48b09d94195d0bfdba828e1907642895403fac27f6d6b8801b4a435e1b5f3fef0bce2df29e676a9af8197046a
|
7
|
+
data.tar.gz: 26db49cd6979be6b0fef0cae47b1bcc2254ca24248427ca960a849846dcec140c881132addaae1258dfa700110b0cc33e5065e715df629244fec15d6a253c3da
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# puppet-lint no_cron_resources check
|
1
|
+
# puppet-lint no_cron_resources check
|
2
2
|
|
3
3
|
Extends puppet-lint to ensure no cron resources are contained in
|
4
4
|
the catalog.
|
@@ -12,7 +12,7 @@ of, I'm looking at you `computer`. This `puppet-lint` check will
|
|
12
12
|
display a warning each time it finds a usage of that resource, in this
|
13
13
|
case `cron`.
|
14
14
|
|
15
|
-
## Installation
|
15
|
+
## Installation
|
16
16
|
|
17
17
|
To use this plugin add the following line to your Gemfile
|
18
18
|
|
@@ -20,14 +20,14 @@ To use this plugin add the following line to your Gemfile
|
|
20
20
|
|
21
21
|
and then run `bundle install`
|
22
22
|
|
23
|
-
## Usage
|
23
|
+
## Usage
|
24
24
|
|
25
25
|
This plugin provides a new check to `puppet-lint` that warns if it finds
|
26
26
|
a `cron` resource.
|
27
27
|
|
28
28
|
cron resources should not be used
|
29
29
|
|
30
|
-
## Customisation
|
30
|
+
## Customisation
|
31
31
|
|
32
32
|
It may be that you love `cron` resources but hate the idea of another
|
33
33
|
specific type appearing in your code. To modify this `puppet-line` check
|
@@ -47,5 +47,10 @@ to detect another type you only need to run the following commands:
|
|
47
47
|
# and rerun the tests
|
48
48
|
bundle exec rake spec
|
49
49
|
|
50
|
-
|
50
|
+
## Other puppet-lint plugins
|
51
|
+
|
52
|
+
You can find a list of my `puppet-lint` plugins in the
|
53
|
+
[unixdaemon puppet-lint-plugins](https://github.com/deanwilson/unixdaemon-puppet-lint-plugins) repo.
|
54
|
+
|
55
|
+
### Author
|
51
56
|
[Dean Wilson](http://www.unixdaemon.net)
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-lint-no_cron_resources-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dean Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puppet-lint
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.1'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.1'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rspec
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|