summaryrefslogtreecommitdiff
path: root/spec/unit/resource
Commit message (Collapse)AuthorAgeFilesLines
* did not need to pend dsc_script ps_credential unit testsmurawski/pend_dsc_script_credential_testSteven Murawski2016-06-061-1/+0
|
* skip the ps_credential test of dsc_script until we can get the right test certSteven Murawski2016-06-061-0/+1
|
* Merge pull request #4700 from nathwill/features/systemd-unitThom May2016-05-011-0/+133
|\ | | | | add systemd_unit resource
| * add systemd_unit resource/providerNathan Williams2016-04-161-0/+133
| |
* | Merge pull request #4855 from kbruner/mdadm_layoutThom May2016-04-261-2/+7
|\ \ | | | | | | Add layout option support for device creation to mdadm resource provider
| * | fix existing bitmap unit test in mdadm resourceKaren Bruner2016-04-211-2/+2
| | |
| * | add support for --layout option to mdadm resource providerKaren Bruner2016-04-211-0/+5
| |/
* | Too much log output and unnecessary warnings! Suppress that shit.Kartik Null Cating-Subramanian2016-04-252-3/+3
|/
* add nillable apt_repository and nillable propertiesLamont Granquist2016-04-141-0/+4
| | | | | | in Chef-13 nillable will become 'true' by default and we'll have to deprecate and remove all nillable properties, but for now this lets us opt-in, which was can't currently do in Chef-12.
* Add an apt_repository resourcetm/apt_repositoryThom May2016-04-081-0/+34
| | | | | More or less stolen from the apt cookbook, but tweaked and fixes a heap of bugs.
* better chef+ruby rspec constraintsLamont Granquist2016-03-031-2/+2
| | | | | | | | lets us use Gem::Dependency constraints directly as rspec constraints for matching Chef::Version and RUBY_VERSION. copies some magic sauce from bundler that does something similar
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-1922-23/+23
| | | | no enforced trailing comma on arguments...
* deal with 0.37.2 renamed copsLamont Granquist2016-02-181-1/+1
| | | | | | | | | | | | | | | 252 Style/TrailingCommaInLiteral 84 Style/TrailingCommaInArguments 15 Style/SpaceAroundKeyword -- 351 Total We already dealt with SpaceAroundKeyword under its old name SpaceBeforeModifierKeyword, it looks like it got stricter about spaces after keywords. TrailingComma also got split, and it looks like the TrailingCommaInArguments behavior is new?
* Merge pull request #4111 from mikedodge04/launchdPhil Dibowitz2016-02-171-0/+31
|\ | | | | launchd for osx
| * bundle exec chefstyle -aMike Dodge2016-02-151-8/+7
| |
| * added specsMike Dodge2016-02-151-0/+32
| |
* | test that splitting a string on commas DTRTtm/split_group_membersThom May2016-02-161-0/+5
|/
* convert MultilineOperationIndentation style to "indented"Lamont Granquist2016-02-121-1/+1
| | | | this looks nicer.
* autofixing auto-inserted delimiterslcg/chefstyle-batchLamont Granquist2016-02-097-21/+21
|
* auto fixing some rubocopsLamont Granquist2016-02-097-21/+21
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing some missed copsLamont Granquist2016-02-051-1/+1
| | | | second round of autofixing for some reason...
* autofixing whitespace copsLamont Granquist2016-02-0525-116/+107
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-021-1/+1
|
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-0246-57/+57
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-0239-39/+39
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-0266-68/+68
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* fix style nittm/apt_updateThom May2016-01-221-1/+1
|
* respond to review commentsThom May2016-01-221-0/+8
|
* Add an apt_update resourceThom May2016-01-201-0/+30
|
* Use double quotes by defaultThom May2016-01-1465-175/+175
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-133-3/+3
| | | | chefstyle -a fixed 1044 occurrances
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-123-4/+4
| | | | useless use of `"#{foo.to_s}"`
* chocolatey multipackage providerlcg/chocolatey-packageLamont Granquist2016-01-081-0/+67
|
* Added profile provider for OS XNate Walck2015-12-171-0/+61
| | | | Fixed resource to use let
* Use properties in package resourcesjk/package-propertiesJohn Keiser2015-12-151-5/+1
|
* why is 'identity' different than 'name_property'?Lamont Granquist2015-12-141-1/+1
|
* Add timeout attribute to dsc_resourcejdm/dsc_resource_timeoutJay Mundrawala2015-12-031-1/+7
| | | | | | | | `dsc_resource` was missing a timeout resource. Some resources, such as `xSQLServerSetup` were taking longer than the default of 10 minuites set by mixlib-shellout. Fixes #4232
* Add reboot notification to dsc_resourceSteven Murawski2015-11-181-4/+9
|
* Merge pull request #4014 from nsdavidson/issue-3923Thom May2015-11-121-0/+40
|\ | | | | Adding ksh resource for #3923
| * updating copyright statment in ksh_spec.rbNolan Davidson2015-10-131-1/+1
| |
| * Adding ksh resource and specsNolan Davidson2015-10-061-0/+40
| |
* | Merge pull request #4064 from josb/masterThom May2015-11-121-1/+1
|\ \ | | | | | | Use the initializer to avoid NoMethodError on nil.include?
| * | Stop initializing node tags hereJos Backus2015-10-201-1/+1
| | | | | | | | | | | | This should be done in one place (Chef::Node#tags).
* | | Use SHA256 instead for registry_key when data is not displayableJay Mundrawala2015-10-241-2/+2
| | |
* | | We shouldn't be subclassing Struct.new - if the file is loaded twice we get ↵tyler-ball2015-10-241-45/+44
|/ / | | | | | | a superclass mismatch error
* | Raise error when running 32-bit scripts on Windows Nano.mcquin/nano/disable-32-bitClaire McQuin2015-10-051-13/+17
|/
* Merge pull request #3806 from gh2k/subversion-shelloutThom May2015-09-021-0/+4
|\ | | | | Replace output_of_command with shell_out! in subversion provider
| * Replace output_of_command with shell_out! in subversion providerSimon Detheridge2015-08-241-0/+4
| | | | | | | | output_of_command doesn't work properly on Windows (see chef/chef#1533)
* | Make file verification deprecation print the proper source locjk/dedup-messagesJohn Keiser2015-09-011-1/+1
| |
* | Merge pull request #3772 from chef/jdm/dsc-script-ps-credJay Mundrawala2015-08-251-0/+4
|\ \ | | | | | | Add ps_credential dsl method to dsc_script