Commit f969423
authored
Agent2 updates (#32)
* start updating module for puppet 5.x and agent 2.0
* remove notifications
* no bundler up in there?
* maybe skip ruby 2.1 for now
* update rakefile and ditch puppet 4.8
* fix linting issues with chaining arrows
* use new style facts
* errant brace
* need to define os related facts in spec test
* hello, typo
* update facts for rhel like stuff
* something's not defined here in spec tests
* try top level scope here
* removed centos/rhel 6 spec test bits
updated metadata for agent 2.0 supported os versions
* fix spec to use stdlib functions
this requires a different test to see if the pkg is in the catalogue.
* 'run' is only available within 'describe' or 'context' groups
* if lsb bits aren't there, we don't get some os facts
feels like this is an old issue, but here's a reccent ticket: https://tickets.puppetlabs.com/projects/FACT/issues/FACT-1899?filter=allopenissues
* sudo train to success
* move this up to see if it works
* use the apt module instead
will have to clean up a bunch of these so they work and modify tests.
* maybe cleaned this up a little
* add those params for debian
* added back that gpg key param
not sure this is even needed now
* bump version and include apt dependency in fixtures
* add the osfamily fact to spec for apt
used in apt module
* add translate module dependency for tests
* fix apt spec facts
* add os release full fact to spec test
* nice typo, yo
* move defined type test to defines
add rspec-puppet-facts to save time. need to edit the apt spec test and
other stuff.
* no top scope there?
special var in play
* update repo for v2
add different setup/config commands. will sort out the correct execs
here and update tests to reflect these.
* updated travis conf and comments
* change config dir and add params
* errant spaces
* try skipping rvm installs with travis
not sure this will work or is even the way to go, but it might be
quicker.
* use confdir in config line
* missing comma
* update facts in init spec
* updated facts in config spec
* was that failing due to changed path?
* change repo url in yum spec
* add facts to pkg spec
* update specs
* errant brace
* match apt repo comment
* multiline content
this should be a defined type test instead.
* fix indent
gross
* fixed apt stuff
* fix facts in apt spec
* fixed typo
* fix config spec
needs more facts
* add more facts
* more facts for init spec
* add facts for redhat
* facts for config spec
* load it up with facts
* missing brace
* got your operatingsystem right here, buddy
* fix family
* add another debian fact
* move apt spec to defined type test
* move defined type tests to apt class test
* might need to pass params like this
* make it work
* config options have changed.
see if this works.
* loop over config args and such
* fix tabs
* fix config spec
had the old command in there
* have params match what apt class expects
* updated config class and other bits
* this might work for the apt spec test
* just name the release
* might've used the wrong resource type there
* changes those names, too
* fixed apt params
it's been awhile...
* skip the apt key test for now
* fix these spec tests
* more spec tinkering
* an extra space in there
* fix format of rulesets
* dupe it up
* have package inherit params, too
* test complained about an undefined thing
* change how options are passed
* make sure yaml is valid
* only use extra args if they're defined
* give this a try
please work, yo
* use the undef symbol instead
* make it work
i am retiring after this.
* this works?
* remove that param for great success
* this should skip config is no args are defined
i think that's what we want here.
* tests pass; yay
* added changelog, changed dates
* change reference to cloudsight
* remove ubuntu 14.04 from metadata
* updated readme
* removed feature plan param1 parent c7e3a9f commit f969423
29 files changed
Lines changed: 413 additions & 180 deletions
File tree
- data
- os
- manifests
- spec
- classes
- fixtures/manifests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
2 | 9 | | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
6 | | - | |
7 | | - | |
8 | 15 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 40 | + | |
44 | 41 | | |
45 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
53 | | - | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
57 | | - | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | | - | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments