Stephan Renatus
edd9635517
Merge pull request #474 from chef/dr/service-fix
...
bugfix: handle edge-cases in upstart service
2016-02-22 10:19:52 +01:00
Dominik Richter
ee82c3a2ff
bugfix: handle edge-cases in upstart service
...
e.g. when a service could not be found and command outputs become empty / matchers dont hit'
2016-02-22 09:52:16 +01:00
Stephan Renatus
f8c2b3fc1c
Merge pull request #475 from chef/dr/ensure-strings
...
bugfix: make sure version is always a string
2016-02-22 09:50:35 +01:00
Dominik Richter
1147d30679
bugfix: make sure version is always a string
2016-02-22 09:26:48 +01:00
Stephan Renatus
a2f66273da
Merge pull request #476 from chef/dr/utf-8
...
force encoding to utf-8
2016-02-22 09:25:21 +01:00
Dominik Richter
c7312be8ec
force encoding to utf-8
2016-02-22 05:18:41 +01:00
Stephan Renatus
15870af291
Merge pull request #472 from chef/0.13.0
...
0.13.0
2016-02-19 16:15:40 +01:00
Christoph Hartmann
e466ec4e90
0.13.0
2016-02-19 14:50:03 +01:00
Christoph Hartmann
2180a1a425
Merge pull request #471 from chef/dr/shadow
...
add shadow resource for /etc/shadow
2016-02-19 14:35:56 +01:00
Dominik Richter
1e096c7181
add shadow resource for /etc/shadow
2016-02-19 14:26:04 +01:00
Dominik Richter
db233ffe0e
Merge pull request #470 from chef/chris-rock/url-handling
...
improve url handling
2016-02-19 09:34:00 +01:00
Christoph Hartmann
3f6b89e24d
extend github url support
2016-02-19 09:12:25 +01:00
Christoph Hartmann
3a2488cade
fix mime-type map
2016-02-19 09:11:38 +01:00
Christoph Hartmann
89b12577c5
Merge pull request #467 from chef/dr/passwd-filter
...
add filters to passwd resource + deprecate old accessors
2016-02-18 21:27:20 +01:00
Christoph Hartmann
9e2dc30fb5
minor typo fix
2016-02-18 21:12:25 +01:00
Dominik Richter
1fa957c8ca
ensure deprecated methods still work
2016-02-18 16:25:02 +01:00
Dominik Richter
04d297f64d
update docs for modified passwd resource
2016-02-18 16:10:42 +01:00
Dominik Richter
83fcc35d2a
expose all fields + deprecate singular accessors
2016-02-18 16:10:42 +01:00
Dominik Richter
d9427b3aac
add filter to passwd
2016-02-18 16:10:42 +01:00
Christoph Hartmann
7db81fabe9
Merge pull request #462 from chef/dr/fix-targets
...
fix url target resolution with zip and tar
2016-02-18 15:20:03 +01:00
Christoph Hartmann
26276ca991
use ruby zip and tar for unit tests
2016-02-18 14:27:16 +01:00
Dominik Richter
17d4e1dc3c
simplify url-construction of inspec-compliance
2016-02-18 14:25:55 +01:00
Dominik Richter
b8cce5d3c7
create zip for test helper in ruby
...
The zip command is not always there. (e.g. i dont have it on my box). just use the available zip library
2016-02-18 14:25:55 +01:00
Dominik Richter
b872c04616
bugfix: url helper loading zip and tar
2016-02-18 14:25:55 +01:00
Dominik Richter
509088ba5d
share test helpers for loading profile archives
2016-02-18 14:25:55 +01:00
Dominik Richter
e354854fc9
bugfix: dont skip url target unit test
2016-02-18 14:25:55 +01:00
Dominik Richter
6bc57b2d92
bugfix: stop reading fro mzip when file is found
2016-02-18 14:25:55 +01:00
Christoph Hartmann
2c42d5ba46
Merge pull request #466 from chef/dr/cmp++
...
cmp for single-entry arrays; add cmp docs
2016-02-18 14:24:26 +01:00
Dominik Richter
301a39d4f0
add matchers docs
2016-02-18 13:58:46 +01:00
Dominik Richter
03bf732d82
add cmp for Arrays
2016-02-18 13:58:37 +01:00
Dominik Richter
2bbbb29a9b
simplify cmp matcher checks
2016-02-18 12:07:40 +01:00
Christoph Hartmann
f0943798b6
Merge pull request #463 from chef/sr/docs-services
...
Service-related docs, bugs, integration tests
2016-02-17 13:03:31 +01:00
Stephan Renatus
453cd420fb
fix service_ctl override logic
2016-02-17 12:55:09 +01:00
Stephan Renatus
476bd750b0
restrict service integration tests on centos to >= 6
2016-02-17 12:55:09 +01:00
Stephan Renatus
defd5b3fa6
docs for sysv runlevels and service{mgr,ctl} overrides
2016-02-17 12:55:09 +01:00
Stephan Renatus
d5a6d1000f
integration tests for sysv runlevels
2016-02-17 11:41:34 +01:00
Christoph Hartmann
103dc09bb6
Merge pull request #461 from chef/sr/config-permissions
...
ensure permissions of inspec-compliance config.json on store
2016-02-17 11:11:33 +01:00
Stephan Renatus
d2469d9519
inspec-compliance: ensure file permissions when saving config
2016-02-17 10:46:06 +01:00
Christoph Hartmann
1585d60841
Merge pull request #457 from chef/0.11.1
...
0.12.0
2016-02-15 12:14:43 +01:00
Dominik Richter
294db6744f
0.12.0
2016-02-15 11:54:14 +01:00
Dominik Richter
374baf3b7f
Merge pull request #454 from chef/chris-rock/generate
...
Add a init subcommand
2016-02-14 22:26:46 +01:00
Christoph Hartmann
48545d9a34
ignore templates in rubocop
2016-02-14 21:28:11 +01:00
Christoph Hartmann
96d02ba4a2
add inspec profile as example
2016-02-14 21:27:40 +01:00
Christoph Hartmann
b967af3c89
rename generate to init
2016-02-14 21:26:37 +01:00
Christoph Hartmann
f281f9c351
implement generate cli command
2016-02-14 19:38:58 +01:00
Christoph Hartmann
f01b865d94
Merge pull request #455 from chef/dr/runlevel
...
add runlevel support for System V services
2016-02-14 19:37:07 +01:00
Dominik Richter
33f58b3348
add tests for runlevel testing
2016-02-14 18:37:20 +01:00
Dominik Richter
36cbafc438
add runlevel helper object to services
2016-02-14 18:23:58 +01:00
Dominik Richter
0934948a1a
support runlevels for system V + service matching
...
Bugfix: there were services that would get matched because of the way the regex was constructed, i.e. if the user inserted `.` or `*` or anything regexy. Even if the service only had part of the name you were interested in, it would match (e.g. `sshd` would find `my_sshdaemon`).
Apart from this, runlevels are now detected for SystemV. This is exposed in `#info`
2016-02-13 02:11:51 +01:00
Dominik Richter
820446a0aa
Merge pull request #452 from chef/sr/logging-and-config-bugs
...
Fix two minor logging and config bugs in CLI
2016-02-12 10:43:42 +01:00