@@ -14,13 +14,13 @@ be installed on the node:
14
14
15
15
` knife node run_list add recipe[omnibus_updater] `
16
16
17
- In your role you'll likely want to set the version (it defaults
18
- to the 0.10.10 version of Chef):
17
+ In your role you'll likely want to set the version. It defaults
18
+ to nothing, and will install the latest..
19
19
20
20
```
21
21
override_attributes(
22
22
:omnibus_updater => {
23
- :version => '10.16.2 '
23
+ :version => '11.4.0 '
24
24
}
25
25
)
26
26
```
@@ -35,37 +35,30 @@ override_attributes(
35
35
}
36
36
)
37
37
```
38
- ---
39
-
40
- If you are using a Chef version earlier than 10.12.0 you may want
41
- to take a look at the chef_gem cookbook to ensure gems are going
42
- where expected.
43
-
44
- ---
45
-
46
- The default recipe will install the omnibus package based
47
- on system information but you can override that by using
48
- the ` install_via ` attribute which accepts: deb, rpm or script.
49
38
50
39
Features
51
40
========
52
41
53
- Auto version expansion
54
- ----------------------
42
+ Latest Version
43
+ --------------
55
44
56
- Versions for the omnibus installer are defined as: x.y.z-n If the ` : version` attribute only provides
57
- x.y.z the ` n ` value will be automatically filled in with the latest available version .
45
+ Force installation of the latest version regardless of value stored in version
46
+ attribute by setting the ` force_latest ` attribute .
58
47
59
- Auto version searching
60
- ----------------------
48
+ Chef Killing
49
+ ------------
61
50
62
- Using the ` :version_search ` attribute, the latest stable version of the omnibus installer will
63
- be installed automatically as they become available.
51
+ By default the omnibus updater will kill the chef instance by raising and exception.
52
+ You can turn this off using the ` kill_chef_on_upgrade ` attribute. It is not
53
+ recommended to turn this off. Internal chef libraries may change, move, or no
54
+ longer exist. The currently running instance can encounter unexpected states because
55
+ of this. To prevent this, the updater will attempt to kill the Chef instance so
56
+ that it can be restarted in a normal state.
64
57
65
- Release clients
66
- ---------------
58
+ Prerelease
59
+ --------
67
60
68
- Release clients can be installed via the auto-installation using ` :allow_release_clients ` attribute.
61
+ Prereleases can be installed via the auto-installation using ` prerelease ` attribute.
69
62
70
63
Disable
71
64
-------
79
72
80
73
* Repo: https://github.com/hw-cookbooks/omnibus_updater
81
74
* IRC: Freenode @ #heavywater
82
-
75
+ * Cookbook: http://ckbk.it/omnibus_updater
0 commit comments